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.Api; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; @TableName(value = "signature_template") @ApiModel(value = "签署模版对象" , description = "签署模版对象") public class SignatureTemplate extends BaseEntity { private static final long serialVersionUID = 1L; @TableId(type = IdType.AUTO) private Long id; @NotNull(message = "模版名称不能为空") @ApiModelProperty(value = "模版名称") private String templateName; @NotNull(message = "签署类型不能为空") @ApiModelProperty(value = "签署类型") private Integer typeId; @NotNull(message = "部门不能为空") @ApiModelProperty(value = "部门") private Long deptId; @ApiModelProperty(value = "文件路径") private String filePath; private Integer delFlag; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTemplateName() { return templateName; } public void setTemplateName(String templateName) { this.templateName = templateName; } public Integer getTypeId() { return typeId; } public void setTypeId(Integer typeId) { this.typeId = typeId; } public Long getDeptId() { return deptId; } public void setDeptId(Long deptId) { this.deptId = deptId; } public String getFilePath() { return filePath; } public void setFilePath(String filePath) { this.filePath = filePath; } public Integer getDelFlag() { return delFlag; } public void setDelFlag(Integer delFlag) { this.delFlag = delFlag; } }