From ea3e40330575519d9a4c7dbe4f6d63e4a22ea861 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:41:52 +0800 Subject: [PATCH] Revert "Revert "新考核"" --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java | 213 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 174 insertions(+), 39 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java index ff25a04..a89ec25 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java @@ -1,55 +1,190 @@ package com.ycl.platform.domain.entity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import com.ycl.platform.base.AbsEntity; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; -import lombok.experimental.Accessors; - -import java.math.BigDecimal; -import java.util.Date; +import annotation.Excel; +import com.ycl.system.entity.BaseEntity; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.builder.ToStringStyle; /** - * 鑰冩牳妯℃澘 - * - * @author xp - * @since 2024-03-06 + * 鑰冩牳妯℃澘瀵硅薄 t_check_template + * + * @author ruoyi + * @date 2024-04-01 */ -@Data -@Accessors(chain = true) -@TableName("t_check_template") -@ApiModel(value = "CheckTemplate瀵硅薄", description = "鑰冩牳妯℃澘") -public class CheckTemplate extends AbsEntity { - +public class CheckTemplate extends BaseEntity +{ private static final long serialVersionUID = 1L; - /** - * 妯℃澘鍚嶇О - */ - @TableField("template_name") + /** */ + private Long id; + + /** 妯℃澘鍚嶇О */ + @Excel(name = "妯℃澘鍚嶇О") private String templateName; - @ApiModelProperty("璋冩暣绯绘暟") - @TableField("adjust_coefficient") - private BigDecimal adjustCoefficient; + /** 璋冩暣绯绘暟 */ + @Excel(name = "璋冩暣绯绘暟") + private Long adjustCoefficient; - /** - * 璋冩暣绯绘暟鐨勬柟寮忥細涔橀櫎 - */ - @TableField("adjust_way") + /** 璋冩暣鏂瑰紡锛氫箻闄� */ + @Excel(name = "璋冩暣鏂瑰紡锛氫箻闄�") private String adjustWay; - @ApiModelProperty("鐘舵��") - @TableField("status") + /** 鑰冩牳绫诲瀷 */ + @Excel(name = "鑰冩牳绫诲瀷") + private Long examineCategory; + + /** 鍚敤/鍋滅敤 */ + @Excel(name = "鍚敤/鍋滅敤") private String status; - @ApiModelProperty("鍗曚綅id") - @TableField("unit_id") - private Integer unitId; + /** 鍖哄幙 */ + @Excel(name = "鍖哄幙") + private String deptId; - @ApiModelProperty("鑰冩牳绫诲瀷") - @TableField("examine_category") - private String examineCategory; + /** 鍒涘缓浜篿d */ + private Long createUser; + + /** 鍒涘缓浜哄鍚� */ + @Excel(name = "鍒涘缓浜哄鍚�") + private String createUserName; + + /** */ + private Long updateUser; + + /** */ + @Excel(name = "") + private String updateUserName; + + /** 閫昏緫鍒犻櫎 */ + private String deleted; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTemplateName(String templateName) + { + this.templateName = templateName; + } + + public String getTemplateName() + { + return templateName; + } + public void setAdjustCoefficient(Long adjustCoefficient) + { + this.adjustCoefficient = adjustCoefficient; + } + + public Long getAdjustCoefficient() + { + return adjustCoefficient; + } + public void setAdjustWay(String adjustWay) + { + this.adjustWay = adjustWay; + } + + public String getAdjustWay() + { + return adjustWay; + } + public void setExamineCategory(Long examineCategory) + { + this.examineCategory = examineCategory; + } + + public Long getExamineCategory() + { + return examineCategory; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDeptId(String deptId) + { + this.deptId = deptId; + } + + public String getDeptId() + { + return deptId; + } + public void setCreateUser(Long createUser) + { + this.createUser = createUser; + } + + public Long getCreateUser() + { + return createUser; + } + public void setCreateUserName(String createUserName) + { + this.createUserName = createUserName; + } + + public String getCreateUserName() + { + return createUserName; + } + public void setUpdateUser(Long updateUser) + { + this.updateUser = updateUser; + } + + public Long getUpdateUser() + { + return updateUser; + } + public void setUpdateUserName(String updateUserName) + { + this.updateUserName = updateUserName; + } + + public String getUpdateUserName() + { + return updateUserName; + } + public void setDeleted(String deleted) + { + this.deleted = deleted; + } + + public String getDeleted() + { + return deleted; + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("templateName", getTemplateName()) + .append("adjustCoefficient", getAdjustCoefficient()) + .append("adjustWay", getAdjustWay()) + .append("examineCategory", getExamineCategory()) + .append("status", getStatus()) + .append("deptId", getDeptId()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .append("createUser", getCreateUser()) + .append("createUserName", getCreateUserName()) + .append("updateUser", getUpdateUser()) + .append("updateUserName", getUpdateUserName()) + .append("deleted", getDeleted()) + .toString(); + } } -- Gitblit v1.8.0