fuliqi
2024-04-03 15f56cdd29e1f9a989ded5af2bae95f50998ad16
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
107
108
109
110
package com.ycl.platform.domain.entity;
 
import annotation.Excel;
import com.ycl.system.domain.TreeEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
 
import java.math.BigDecimal;
 
/**
 * 核算规则对象 t_calculate_rule
 * 
 * @author ruoyi
 * @date 2024-04-03
 */
public class CalculateRule extends TreeEntity
{
    private static final long serialVersionUID = 1L;
 
    /**  */
    private Long id;
 
    /**  */
    @Excel(name = "")
    private String name;
 
    /**  */
    @Excel(name = "")
    private Long templateId;
 
    /** 单位id */
    @Excel(name = "单位id")
    private Long unitId;
 
    /** 每少1%扣当月总服务费的多少 */
    @Excel(name = "每少1%扣当月总服务费的多少")
    private BigDecimal value;
 
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }
 
    public String getName() 
    {
        return name;
    }
    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }
 
    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }
 
    public Long getUnitId() 
    {
        return unitId;
    }
    public void setValue(BigDecimal value) 
    {
        this.value = value;
    }
 
    public BigDecimal getValue() 
    {
        return value;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }
 
    public String getDescription() 
    {
        return description;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("templateId", getTemplateId())
            .append("parentId", getParentId())
            .append("unitId", getUnitId())
            .append("value", getValue())
            .append("description", getDescription())
            .toString();
    }
}