xiangpei
2024-07-22 bb7c0d979cc614e1e28f2a56cf75fc4b905edb97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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;
 
}