package com.ycl.platform.domain.entity;
|
|
import annotation.Excel;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import enumeration.general.AuditingStatus;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 合同打分对象 t_default_score
|
*
|
* @author ruoyi
|
* @date 2024-04-01
|
*/
|
@Data
|
@TableName("t_contract_score")
|
public class ContractScore {
|
private static final long serialVersionUID = 1L;
|
|
private Long id;
|
|
private Long unitId;
|
|
@Excel(name = "运维单位")
|
@TableField(exist = false)
|
private String unitName;
|
|
private Long contractId;
|
|
@Excel(name = "合同")
|
@TableField(exist = false)
|
private String contractName;
|
|
private Long ruleId;
|
private String ruleIds;
|
@TableField(exist = false)
|
private Long[] ruleIdsArray;
|
|
@Excel(name = "规则")
|
private String ruleName;
|
|
@Excel(name = "扣减方式")
|
private String deductCategory;
|
|
@Excel(name = "指标")
|
private String num;
|
|
@Excel(name = "分数")
|
private BigDecimal score;
|
|
private Long createUserId;
|
|
@Excel(name = "创建人")
|
private String createUser;
|
|
private Long auditingUserId;
|
|
@Excel(name = "审核人")
|
private String auditingUser;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT)
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date auditingTime;
|
|
@Excel(name = "审核状态", readConverterExp = "PASS=通过,NO_PASS=未通过,WAIT=待审核")
|
private AuditingStatus auditingStatus;
|
|
@Excel(name = "审核说明")
|
private String remark;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
@TableLogic
|
private Integer deleted;
|
|
//查询条件
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createStartTime;
|
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createEndTime;
|
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date auditingStartTime;
|
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date auditingEndTime;
|
|
}
|