From a90d4c73e67b27338e941f88673fd17fe8b2b5ff Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 14:51:43 +0800 Subject: [PATCH] 前后端文件名统一调整 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java | 122 +++++----------------------------------- 1 files changed, 15 insertions(+), 107 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java index 8f34f5a..aabaee5 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java @@ -1,140 +1,48 @@ package com.ycl.platform.domain.entity; import annotation.Excel; +import com.baomidou.mybatisplus.annotation.TableLogic; +import com.baomidou.mybatisplus.annotation.TableName; 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 lombok.Data; import java.math.BigDecimal; import java.util.Date; /** - * 鍚堝悓鑰冩牳缁撴灉瀵硅薄 t_default_result + * 鑰冩牳缁撴灉瀵硅薄 t_check_result * * @author ruoyi * @date 2024-04-01 */ -public class ContractResult extends BaseEntity -{ +@TableName("t_contract_result") +@Data +public class ContractResult { private static final long serialVersionUID = 1L; - /** */ private Long id; - /** 鑰冩牳鍗曚綅 */ - @Excel(name = "鑰冩牳鍗曚綅") + @Excel(name = "鑰冩牳瀵硅薄") private Long unitId; - /** 鑰冩牳鍙戝竷 */ + @Excel(name = "杩愮淮鍚堝悓") + private Long contractId; + @Excel(name = "鑰冩牳鍙戝竷") private Long publishId; - /** 鑰冩牳鍒嗘暟 */ @Excel(name = "鑰冩牳鍒嗘暟") - private BigDecimal defaultScore; + private BigDecimal score; - /** 瀹℃牳鐘舵�� */ - @Excel(name = "瀹℃牳鐘舵��") - private Long auditState; - - /** 鏄惁鍙戝竷 */ @Excel(name = "鏄惁鍙戝竷") - private Long publish; + private Integer publish; - /** 鑰冩牳鏃堕棿 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "鑰冩牳鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd") private Date checkTime; - /** 閫昏緫鍒犻櫎 */ + @TableLogic private String deleted; - public void setId(Long id) - { - this.id = id; - } - - public Long getId() - { - return id; - } - public void setUnitId(Long unitId) - { - this.unitId = unitId; - } - - public Long getUnitId() - { - return unitId; - } - public void setPublishId(Long publishId) - { - this.publishId = publishId; - } - - public Long getPublishId() - { - return publishId; - } - public void setDefaultScore(BigDecimal defaultScore) - { - this.defaultScore = defaultScore; - } - - public BigDecimal getDefaultScore() - { - return defaultScore; - } - public void setAuditState(Long auditState) - { - this.auditState = auditState; - } - - public Long getAuditState() - { - return auditState; - } - 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("unitId", getUnitId()) - .append("publishId", getPublishId()) - .append("defaultScore", getDefaultScore()) - .append("auditState", getAuditState()) - .append("publish", getPublish()) - .append("checkTime", getCheckTime()) - .append("updateTime", getUpdateTime()) - .append("deleted", getDeleted()) - .toString(); - } + private Date updateTime; } -- Gitblit v1.8.0