|
@@ -1,144 +0,0 @@
|
|
|
-package com.dk.mdm.model.vo.mst;
|
|
|
|
|
-
|
|
|
|
|
-import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
-import com.dk.common.infrastructure.annotaiton.ExportTitle;
|
|
|
|
|
-import com.dk.common.infrastructure.handler.UuidListTypeHandler;
|
|
|
|
|
-import com.dk.common.infrastructure.handler.UuidTypeHandler;
|
|
|
|
|
-import com.dk.common.model.pojo.PageInfo;
|
|
|
|
|
-import com.dk.mdm.model.pojo.mst.RoleFun;
|
|
|
|
|
-import com.dk.mdm.model.pojo.mst.StaffPurview;
|
|
|
|
|
-import com.dk.mdm.model.pojo.mst.StaffRight;
|
|
|
|
|
-import io.swagger.annotations.ApiModel;
|
|
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
-import lombok.AllArgsConstructor;
|
|
|
|
|
-import lombok.Data;
|
|
|
|
|
-import lombok.EqualsAndHashCode;
|
|
|
|
|
-import lombok.NoArgsConstructor;
|
|
|
|
|
-import lombok.experimental.Accessors;
|
|
|
|
|
-
|
|
|
|
|
-import java.io.Serializable;
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
-
|
|
|
|
|
-/**
|
|
|
|
|
- * 员工
|
|
|
|
|
- */
|
|
|
|
|
-@Data
|
|
|
|
|
-@AllArgsConstructor
|
|
|
|
|
-@NoArgsConstructor
|
|
|
|
|
-@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
-@Accessors(chain = true)
|
|
|
|
|
-@ExportTitle("员工")
|
|
|
|
|
-@TableName(value = "t_mst_staff", autoResultMap = true)
|
|
|
|
|
-@ApiModel(value="实体类:员工", description="表名:t_mst_staff")
|
|
|
|
|
-public class StaffVO extends PageInfo<StaffVO> implements Serializable {
|
|
|
|
|
-
|
|
|
|
|
- /*
|
|
|
|
|
- * 数据库字段
|
|
|
|
|
- */
|
|
|
|
|
- /**
|
|
|
|
|
- * 员工ID
|
|
|
|
|
- */
|
|
|
|
|
- @TableId(value = "staff_id", type = IdType.AUTO)
|
|
|
|
|
- @ApiModelProperty(value = "员工ID")
|
|
|
|
|
- @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
|
|
- private String staffId;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 员工编码
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "员工编码", width = 20, type = 10)
|
|
|
|
|
- @ApiModelProperty(value = "员工编码")
|
|
|
|
|
- private String staffCode;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 员工名称
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "员工名称", width = 20, type = 10)
|
|
|
|
|
- @ApiModelProperty(value = "员工名称")
|
|
|
|
|
- private String staffName;
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 员工电话
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "员工电话")
|
|
|
|
|
- @ApiModelProperty(value = "员工电话")
|
|
|
|
|
- private String staffPhone;
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 微信用户
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "微信用户")
|
|
|
|
|
- @ApiModelProperty(value = "微信用户")
|
|
|
|
|
- @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
|
|
- private String wxUserId;
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 组织部门
|
|
|
|
|
- */
|
|
|
|
|
- @ApiModelProperty(value = "组织部门")
|
|
|
|
|
- @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
|
|
- private String orgId;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 备注
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "备注", width = 30, orderNum = "99")
|
|
|
|
|
- @ApiModelProperty(value = "备注")
|
|
|
|
|
- private String remarks;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 有效标识 (1:正常 0:停用)
|
|
|
|
|
- */
|
|
|
|
|
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
|
|
|
|
|
- private Boolean flgValid;
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 登录标识
|
|
|
|
|
- */
|
|
|
|
|
- @ApiModelProperty(value = "登录标识")
|
|
|
|
|
- private Boolean flgCanLogin;
|
|
|
|
|
- /**
|
|
|
|
|
- * @desc : 角色list
|
|
|
|
|
- */
|
|
|
|
|
- @ApiModelProperty(value = "员工状态list")
|
|
|
|
|
- @TableField(typeHandler = UuidListTypeHandler.class)
|
|
|
|
|
- private List<String> roleIds;
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 工厂ID
|
|
|
|
|
- */
|
|
|
|
|
- @ApiModelProperty(value = "工厂ID")
|
|
|
|
|
- private Integer cpId;
|
|
|
|
|
- /**
|
|
|
|
|
- * 登录标识1能登录 0不能登录
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "登录标识")
|
|
|
|
|
- @ApiModelProperty(value = "登录标识")
|
|
|
|
|
- private Integer hrStatus;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 部门
|
|
|
|
|
- */
|
|
|
|
|
- @Excel(name = "部门", width = 20)
|
|
|
|
|
- @ApiModelProperty(value = "部门")
|
|
|
|
|
- private String orgName;
|
|
|
|
|
-
|
|
|
|
|
- private List<StaffRight> staffRightList;
|
|
|
|
|
-
|
|
|
|
|
- private List<StaffPurview> staffPurviewList;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
|
|
-
|
|
|
|
|
-}
|
|
|