| | |
| | | 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; |
| | | |
| | | /** 逻辑删除 */ |
| | | private String deleted; |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | private Date updateTime; |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setUnitId(Long unitId) |
| | | { |
| | | this.unitId = unitId; |
| | | } |
| | | private Integer whichYear; |
| | | private Integer whichMonth; |
| | | |
| | | 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 Integer whichDay; |
| | | } |