package com.gkhy.sign.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.domain.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; @TableName(value = "signature_flow") @ApiModel(value = "流转记录对象", description = "流转记录对象") public class SignatureFlow extends BaseEntity { @TableId(type = IdType.AUTO) private Integer id; @NotNull(message = "项目id不能为空") @ApiModelProperty(value = "项目id") private Integer itemId; @NotNull(message = "操作人id不能为空") @ApiModelProperty(value = "操作人id") private Long userId; @NotNull(message = "操作人姓名不能为空") @ApiModelProperty(value = "操作人姓名") private String userName; @NotNull(message = "操作人部门不能为空") @ApiModelProperty(value = "操作人部门") private Long deptId; @ApiModelProperty(value = "操作人部门") private String deptName; @NotNull(message = "流向人id不能为空") @ApiModelProperty(value = "流向人id") private Long signUserId; @NotNull(message = "流向人姓名不能为空") @ApiModelProperty(value = "流向人姓名") private String signUserName; @NotNull(message = "流向人部门不能为空") @ApiModelProperty(value = "流向人部门") private Long signDeptId; @ApiModelProperty(value = "流向人部门名称") private String signDeptName; private String file_path; private Integer status; private Integer delFlag; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getItemId() { return itemId; } public void setItemId(Integer itemId) { this.itemId = itemId; } public Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public Long getDeptId() { return deptId; } public void setDeptId(Long deptId) { this.deptId = deptId; } public Long getSignUserId() { return signUserId; } public void setSignUserId(Long signUserId) { this.signUserId = signUserId; } public String getSignUserName() { return signUserName; } public void setSignUserName(String signUserName) { this.signUserName = signUserName; } public Long getSignDeptId() { return signDeptId; } public void setSignDeptId(Long signDeptId) { this.signDeptId = signDeptId; } public String getSignDeptName() { return signDeptName; } public void setSignDeptName(String signDeptName) { this.signDeptName = signDeptName; } public Integer getDelFlag() { return delFlag; } public void setDelFlag(Integer delFlag) { this.delFlag = delFlag; } public String getDeptName() { return deptName; } public void setDeptName(String deptName) { this.deptName = deptName; } public String getFile_path() { return file_path; } public void setFile_path(String file_path) { this.file_path = file_path; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } }