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/CheckResult.java | 160 ++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 122 insertions(+), 38 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckResult.java index a453458..f4e22b8 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckResult.java @@ -1,56 +1,140 @@ package com.ycl.platform.domain.entity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; +import annotation.Excel; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ycl.system.entity.BaseEntity; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.builder.ToStringStyle; + import java.math.BigDecimal; -import java.time.LocalDateTime; -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.util.Date; /** - * 鑰冩牳缁撴灉 - * - * @author xp - * @since 2024-03-07 + * 鑰冩牳缁撴灉瀵硅薄 t_check_result + * + * @author ruoyi + * @date 2024-04-01 */ -@Data -@Accessors(chain = true) -@TableName("t_check_result") -@ApiModel(value = "CheckResult瀵硅薄", description = "鑰冩牳缁撴灉") -public class CheckResult extends AbsEntity { - +public class CheckResult extends BaseEntity +{ private static final long serialVersionUID = 1L; - @ApiModelProperty("鑰冩牳瀵硅薄") - @TableField("check_unit_id") - private Integer checkUnitId; + /** */ + private Long id; - @ApiModelProperty("鑰冩牳鍙戝竷") - @TableField("check_publish_id") - private Integer checkPublishId; + /** 鑰冩牳瀵硅薄 */ + @Excel(name = "鑰冩牳瀵硅薄") + private Long deptId; - @ApiModelProperty("鏈�缁堝垎鏁�") - @TableField("check_score") + /** 鑰冩牳鍙戝竷 */ + @Excel(name = "鑰冩牳鍙戝竷") + private Long publishId; + + /** 鑰冩牳绫诲瀷 */ + @Excel(name = "鑰冩牳绫诲瀷") + private Long examineCategory; + + /** 鑰冩牳鍒嗘暟 */ + @Excel(name = "鑰冩牳鍒嗘暟") private BigDecimal checkScore; - @ApiModelProperty("绯荤粺鎵撳垎") - @TableField("system_score") - private BigDecimal systemScore; + /** 鏄惁鍙戝竷 */ + @Excel(name = "鏄惁鍙戝竷") + private Long publish; - @ApiModelProperty("浜哄伐鎵撳垎") - @TableField("manual_score") - private BigDecimal manualScore; + /** 鑰冩牳鏃堕棿 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "鑰冩牳鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd") + private Date checkTime; - @ApiModelProperty("鑰冩牳鏃堕棿") - @TableField("check_time") - private LocalDateTime checkTime; + /** 閫昏緫鍒犻櫎 */ + private String deleted; - @ApiModelProperty("鏄惁鍙戝竷") - @TableField("publish") - private Integer publish; + public void setId(Long id) + { + this.id = id; + } + public Long getId() + { + return id; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + public Long getDeptId() + { + return deptId; + } + public void setPublishId(Long publishId) + { + this.publishId = publishId; + } + + public Long getPublishId() + { + return publishId; + } + public void setExamineCategory(Long examineCategory) + { + this.examineCategory = examineCategory; + } + + public Long getExamineCategory() + { + return examineCategory; + } + public void setCheckScore(BigDecimal checkScore) + { + this.checkScore = checkScore; + } + + public BigDecimal getCheckScore() + { + return checkScore; + } + public void setPublish(Long publish) + { + this.publish = publish; + } + + public Long getPublish() + { + return publish; + } + public void setCheckTime(Date checkTime) + { + this.checkTime = checkTime; + } + + public Date getCheckTime() + { + return checkTime; + } + 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("deptId", getDeptId()) + .append("publishId", getPublishId()) + .append("examineCategory", getExamineCategory()) + .append("checkScore", getCheckScore()) + .append("publish", getPublish()) + .append("checkTime", getCheckTime()) + .append("updateTime", getUpdateTime()) + .append("deleted", getDeleted()) + .toString(); + } } -- Gitblit v1.8.0