From 32b4f6188f32e6c08e813efa98a25d94eacdc0c6 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 02 四月 2024 09:32:29 +0800 Subject: [PATCH] Revert "新考核" --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckResult.java | 160 ++++++++++++---------------------------------------- 1 files changed, 38 insertions(+), 122 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 f4e22b8..a453458 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,140 +1,56 @@ package com.ycl.platform.domain.entity; -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 com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; import java.math.BigDecimal; -import java.util.Date; +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; /** - * 鑰冩牳缁撴灉瀵硅薄 t_check_result - * - * @author ruoyi - * @date 2024-04-01 + * 鑰冩牳缁撴灉 + * + * @author xp + * @since 2024-03-07 */ -public class CheckResult extends BaseEntity -{ +@Data +@Accessors(chain = true) +@TableName("t_check_result") +@ApiModel(value = "CheckResult瀵硅薄", description = "鑰冩牳缁撴灉") +public class CheckResult extends AbsEntity { + private static final long serialVersionUID = 1L; - /** */ - private Long id; + @ApiModelProperty("鑰冩牳瀵硅薄") + @TableField("check_unit_id") + private Integer checkUnitId; - /** 鑰冩牳瀵硅薄 */ - @Excel(name = "鑰冩牳瀵硅薄") - private Long deptId; + @ApiModelProperty("鑰冩牳鍙戝竷") + @TableField("check_publish_id") + private Integer checkPublishId; - /** 鑰冩牳鍙戝竷 */ - @Excel(name = "鑰冩牳鍙戝竷") - private Long publishId; - - /** 鑰冩牳绫诲瀷 */ - @Excel(name = "鑰冩牳绫诲瀷") - private Long examineCategory; - - /** 鑰冩牳鍒嗘暟 */ - @Excel(name = "鑰冩牳鍒嗘暟") + @ApiModelProperty("鏈�缁堝垎鏁�") + @TableField("check_score") private BigDecimal checkScore; - /** 鏄惁鍙戝竷 */ - @Excel(name = "鏄惁鍙戝竷") - private Long publish; + @ApiModelProperty("绯荤粺鎵撳垎") + @TableField("system_score") + private BigDecimal systemScore; - /** 鑰冩牳鏃堕棿 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "鑰冩牳鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd") - private Date checkTime; + @ApiModelProperty("浜哄伐鎵撳垎") + @TableField("manual_score") + private BigDecimal manualScore; - /** 閫昏緫鍒犻櫎 */ - private String deleted; + @ApiModelProperty("鑰冩牳鏃堕棿") + @TableField("check_time") + private LocalDateTime checkTime; - public void setId(Long id) - { - this.id = id; - } + @ApiModelProperty("鏄惁鍙戝竷") + @TableField("publish") + private Integer publish; - 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