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.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
|
@TableName(value = "signature_itme")
|
@ApiModel(value = "签署项目对象", description = "签署项目对象")
|
public class SignatureItem extends BaseEntity {
|
|
@TableId(type = IdType.AUTO)
|
private Long id ;
|
|
@NotNull(message = "项目名称不能为空")
|
@ApiModelProperty(value = "项目名称")
|
private String itemName;
|
@NotNull(message = "模版不能为空")
|
@ApiModelProperty(value = "模版id")
|
private Integer templateId;
|
@NotNull(message = "部门不能为空")
|
@ApiModelProperty(value = "部门名称")
|
private Integer deptId;
|
@ApiModelProperty(value = "发起时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date originateTime;
|
|
@NotNull(message = "最初签署人不能为空")
|
private Long initiaiUserId;
|
|
@ApiModelProperty(value = "文件路径")
|
private String filePath;
|
|
@ApiModelProperty(value = "状态 1未签署 2已签署 3已归档")
|
private Integer status;
|
private Integer delFlag;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getItemName() {
|
return itemName;
|
}
|
|
public void setItemName(String itemName) {
|
this.itemName = itemName;
|
}
|
|
public Integer getTemplateId() {
|
return templateId;
|
}
|
|
public void setTemplateId(Integer templateId) {
|
this.templateId = templateId;
|
}
|
|
public Integer getDeptId() {
|
return deptId;
|
}
|
|
public void setDeptId(Integer deptId) {
|
this.deptId = deptId;
|
}
|
|
public Long getInitiaiUserId() {
|
return initiaiUserId;
|
}
|
|
public void setInitiaiUserId(Long initiaiUserId) {
|
this.initiaiUserId = initiaiUserId;
|
}
|
|
public Date getOriginateTime() {
|
return originateTime;
|
}
|
|
public void setOriginateTime(Date originateTime) {
|
this.originateTime = originateTime;
|
}
|
|
public String getFilePath() {
|
return filePath;
|
}
|
|
public void setFilePath(String filePath) {
|
this.filePath = filePath;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Integer getDelFlag() {
|
return delFlag;
|
}
|
|
public void setDelFlag(Integer delFlag) {
|
this.delFlag = delFlag;
|
}
|
}
|