| package doumeemes.dao.business.model; | 
| import java.io.Serializable; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import doumeemes.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 系统-组织人员关联信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2022/04/20 09:33 | 
|  */ | 
| @Data | 
| @ApiModel("系统-组织人员关联信息表") | 
| @TableName("`company_user`") | 
| public class CompanyUser implements Serializable{ | 
|      @TableId(value = "id",type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @ExcelColumn(name="主键") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") | 
|     @ExcelColumn(name="是否已删除 0未删除 1已删除") | 
|     private Integer deleted; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     @ExcelColumn(name="创建人编码") | 
|     private Integer createUser; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createTime; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     @ExcelColumn(name="更新人编码") | 
|     private Integer updateUser; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @ExcelColumn(name="更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date updateTime; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     @ExcelColumn(name="备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "直属公司级组织ID", example = "1") | 
|     @ExcelColumn(name="直属公司级组织ID") | 
|     private Integer comDepartId; | 
|   | 
|     @ApiModelProperty(value = "主组织编码(关联company表)", example = "1") | 
|     @ExcelColumn(name="主组织编码(关联company表)") | 
|     private Integer rootDepartId; | 
|   | 
|     @ApiModelProperty(value = "姓名") | 
|     @ExcelColumn(name="姓名") | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "手机号码") | 
|     @ExcelColumn(name="手机号码") | 
|     private String phone; | 
|   | 
|     @ApiModelProperty(value = "手机号码验证状态 0未验证 1已验证") | 
|     @ExcelColumn(name="手机号码验证状态 0未验证 1已验证") | 
|     private String phoneAuthStatus; | 
|   | 
|     @ApiModelProperty(value = "身份证号码", example = "1") | 
|     @ExcelColumn(name="身份证号码") | 
|     private Integer idcardNo; | 
|   | 
|     @ApiModelProperty(value = "邮箱地址") | 
|     @ExcelColumn(name="邮箱地址") | 
|     private String email; | 
|   | 
|     @ApiModelProperty(value = "邮箱地址验证状态 0未验证 1已验证", example = "1") | 
|     @ExcelColumn(name="邮箱地址验证状态 0未验证 1已验证") | 
|     private Integer emailAuthStatus; | 
|   | 
|     @ApiModelProperty(value = "人员在所属公司或工厂的员工编号") | 
|     @ExcelColumn(name="人员在所属公司或工厂的员工编号") | 
|     private String code; | 
|   | 
|     @ApiModelProperty(value = "二维码ID") | 
|     @ExcelColumn(name="二维码ID") | 
|     private String qrcodeid; | 
|   | 
|     @ApiModelProperty(value = "是否公司法定代表人 0否 1是", example = "1") | 
|     @ExcelColumn(name="是否公司法定代表人 0否 1是") | 
|     private Integer legalUser; | 
|   | 
|     @ApiModelProperty(value = "岗位") | 
|     @ExcelColumn(name="岗位") | 
|     private String position; | 
|     @ApiModelProperty(value = "钉钉userID") | 
|     @ExcelColumn(name="钉钉userID") | 
|     private String ddUserid; | 
|     @ApiModelProperty(value = "羚羊userID") | 
|     @ExcelColumn(name="羚羊userID") | 
|     private String lingyangUserid; | 
|     @ApiModelProperty(value = "EdgpuserID") | 
|     @ExcelColumn(name="Edgp userID") | 
|     private String edgpUserId; | 
|     @ApiModelProperty(value = "钉钉unionID") | 
|     @ExcelColumn(name="钉钉unionID") | 
|     private String ddUnionid; | 
|   | 
|     @ApiModelProperty(value = "所属部门编码(关联department表)", example = "1") | 
|     @ExcelColumn(name="所属部门编码(关联department表)") | 
|     private Integer departmentId; | 
|   | 
|     @ApiModelProperty(value = "绑定设备ID", example = "1") | 
|     @ExcelColumn(name="绑定设备ID") | 
|     private Integer deviceId; | 
|   | 
|     @ApiModelProperty(value = "绑定时间") | 
|     @ExcelColumn(name="绑定时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date deviceDate; | 
|   | 
|     @ApiModelProperty(value = "数据来源字典编码(关联system_dict_data表)", example = "1") | 
|     @ExcelColumn(name="数据来源字典编码(关联system_dict_data表)") | 
|     private Integer origin; | 
|   | 
|     @ApiModelProperty(value = "系统用户编码(关联system_user表),为空标识为关联登录账号", example = "1") | 
|     @ExcelColumn(name="系统用户编码(关联system_user表),为空标识为关联登录账号") | 
|     private Integer userId; | 
|   | 
|     @ApiModelProperty(value = "企业岗位编码(关联company_position表)", example = "1") | 
|     @ExcelColumn(name="企业岗位编码(关联company_position表)") | 
|     private Integer positionId; | 
|   | 
|     @ApiModelProperty(value = "状态 0有效 1无效", example = "0") | 
|     @ExcelColumn(name="状态 0有效 1无效") | 
|     private Integer status; | 
|     @ApiModelProperty(value = "用户权限工序编码集合,英文逗号隔开", example = "1,2") | 
|     @ExcelColumn(name="用户权限工序编码集合,英文逗号隔开") | 
|     private String procedureIds; | 
|   | 
|     @ApiModelProperty(value = "是否是主账户:0=否;1=是;", example = "0") | 
|     @ExcelColumn(name="是否是主账户:0=否;1=是;") | 
|     private Integer isMaster; | 
|   | 
|   | 
|     @ApiModelProperty(value = "微信openid") | 
|     private String openid; | 
|   | 
|     @ApiModelProperty(value = "微信unionid") | 
|     private String unionid; | 
| } |