分包
This commit is contained in:
@ -138,9 +138,15 @@ public class Constants
|
||||
public static final String REDIS_LOCK_KEY = "redis_lock:";
|
||||
|
||||
/**
|
||||
* 包工头用户标志 前缀
|
||||
* 总包方用户标志 前缀
|
||||
*/
|
||||
public static final String ZBF = "zbf";
|
||||
|
||||
/**
|
||||
* 分包商用户标志 前缀
|
||||
*/
|
||||
public static final String FBS = "fbs";
|
||||
|
||||
/**
|
||||
* 包工头用户标志 前缀
|
||||
*/
|
||||
|
@ -156,4 +156,8 @@ public class FbsUser implements Serializable {
|
||||
@ApiModelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("公司名称")
|
||||
@TableField(exist = false)
|
||||
private String companyName;
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,163 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
import java.io.Serializable;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* APP总包方用户对象 zbf_user
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-03-31
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@Accessors(chain = true)
|
||||
@TableName("zbf_user")
|
||||
@ApiModel("APP总包方用户视图对象")
|
||||
public class ZbfUser implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/** 主键ID */
|
||||
@ApiModelProperty("主键ID")
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
|
||||
/** 唯一标识 */
|
||||
@Excel(name = "唯一标识")
|
||||
@ApiModelProperty("唯一标识")
|
||||
private Long userId;
|
||||
|
||||
/** 联系电话 */
|
||||
@Excel(name = "联系电话")
|
||||
@ApiModelProperty("联系电话")
|
||||
private String phone;
|
||||
|
||||
/** 姓名 */
|
||||
@Excel(name = "姓名")
|
||||
@ApiModelProperty("姓名")
|
||||
private String username;
|
||||
|
||||
/** 性别(0男 1女 2未知) */
|
||||
@Excel(name = "性别" , readConverterExp = "0=男,1=女,2=未知")
|
||||
@ApiModelProperty("性别(0男 1女 2未知)")
|
||||
private String gender;
|
||||
|
||||
/** 民族 */
|
||||
@Excel(name = "民族")
|
||||
@ApiModelProperty("民族")
|
||||
private String nation;
|
||||
|
||||
/** 出生日期 */
|
||||
@Excel(name = "出生日期")
|
||||
@ApiModelProperty("出生日期")
|
||||
private String birthdate;
|
||||
|
||||
/** 身份证号码 */
|
||||
@Excel(name = "身份证号码")
|
||||
@ApiModelProperty("身份证号码")
|
||||
private String identityCard;
|
||||
|
||||
/** 所在区域 */
|
||||
@Excel(name = "所在区域")
|
||||
@ApiModelProperty("所在区域")
|
||||
private String area;
|
||||
|
||||
/** 地址 */
|
||||
@Excel(name = "地址")
|
||||
@ApiModelProperty("地址")
|
||||
private String site;
|
||||
|
||||
/** 银行 */
|
||||
@Excel(name = "银行")
|
||||
@ApiModelProperty("银行")
|
||||
private String bank;
|
||||
|
||||
/** 银行卡号 */
|
||||
@Excel(name = "银行卡号")
|
||||
@ApiModelProperty("银行卡号")
|
||||
private String cardNo;
|
||||
|
||||
/** 头像地址 */
|
||||
@Excel(name = "头像地址")
|
||||
@ApiModelProperty("头像地址")
|
||||
private String avatarName;
|
||||
|
||||
/** 密码 */
|
||||
@Excel(name = "密码")
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
|
||||
/** 身份证正面图路径 */
|
||||
@Excel(name = "身份证正面图路径")
|
||||
@ApiModelProperty("身份证正面图路径")
|
||||
private String frontPath;
|
||||
|
||||
/** 身份证反面图路径 */
|
||||
@Excel(name = "身份证反面图路径")
|
||||
@ApiModelProperty("身份证反面图路径")
|
||||
private String reverseSidePath;
|
||||
|
||||
/** 银行卡图路径 */
|
||||
@Excel(name = "银行卡图路径")
|
||||
@ApiModelProperty("银行卡图路径")
|
||||
private String bankCardPath;
|
||||
|
||||
/** 关联公司Id */
|
||||
@Excel(name = "关联公司Id")
|
||||
@ApiModelProperty("关联公司Id")
|
||||
private Long companyId;
|
||||
|
||||
/** 帐号状态(0正常 1停用) */
|
||||
@Excel(name = "帐号状态" , readConverterExp = "0=正常,1=停用")
|
||||
@ApiModelProperty("帐号状态(0正常 1停用)")
|
||||
private String status;
|
||||
|
||||
/** 删除标志(0代表存在 2代表删除) */
|
||||
@Excel(name = "删除标志" , readConverterExp = "0=代表存在,2=代表删除")
|
||||
@ApiModelProperty("删除标志(0代表存在 2代表删除)")
|
||||
private String delFlag;
|
||||
|
||||
/** 创建者 */
|
||||
@Excel(name = "创建者")
|
||||
@ApiModelProperty("创建者")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private String createBy;
|
||||
|
||||
/** 创建时间 */
|
||||
@Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty("创建时间")
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/** 更新者 */
|
||||
@Excel(name = "更新者")
|
||||
@ApiModelProperty("更新者")
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private String updateBy;
|
||||
|
||||
/** 更新时间 */
|
||||
@Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty("更新时间")
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
@ApiModelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("公司名称")
|
||||
@TableField(exist = false)
|
||||
private String companyName;
|
||||
|
||||
}
|
@ -39,12 +39,17 @@ public enum AuditStatus
|
||||
|
||||
// 获取审核状态列表
|
||||
public static List<String> getAudit(){
|
||||
// 将PASS和REFUSE的code值转换为List<String>类型
|
||||
return Arrays.asList(PASS.getCode(),REFUSE.getCode());
|
||||
}
|
||||
// 获取待审核的列表
|
||||
public static List<String> getToAudit(){
|
||||
// 将UNREAD和AUDIT的code值转换为List<String>类型
|
||||
return Arrays.asList(UNREAD.getCode(),AUDIT.getCode());
|
||||
}
|
||||
|
||||
// 获取已使用的列表
|
||||
public static List<String> getUse(){
|
||||
return Arrays.asList(UNREAD.getCode(),AUDIT.getCode(),PASS.getCode());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,36 @@
|
||||
package com.ruoyi.common.enums;
|
||||
|
||||
/**
|
||||
* 项目状态
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public enum ProjectStatus
|
||||
{
|
||||
NOT_START("0","未开工"),
|
||||
START("1", "已开工"),
|
||||
COMPLETE("2", "已竣工"),
|
||||
;
|
||||
|
||||
private final String code;
|
||||
private final String info;
|
||||
|
||||
ProjectStatus(String code, String info)
|
||||
{
|
||||
this.code = code;
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getCode()
|
||||
{
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getInfo()
|
||||
{
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -14,6 +14,7 @@ public enum SubcontractingApplyStatus
|
||||
PASS("1", "已同意"),
|
||||
REFUSE("2", "已拒绝"),
|
||||
CANCEL("3", "已取消"),
|
||||
CHOOSE("4", "已被他人承接(只是拿来返回,不存进数据库)"),
|
||||
;
|
||||
|
||||
private final String code;
|
||||
|
Reference in New Issue
Block a user