教育训练处考试制证系统后端
heheng
2025-01-20 d30f51ef23798fea6e83859684267cbb133fed9c
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.gkhy.exam.pay.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
 
/**
 * 非煤缴费种类关联对象 non_coal_pay_category
 *
 * @author hh
 * @date 2025-01-16
 */
@TableName("non_coal_pay_category")
@ApiModel(value = "非煤缴费种类关联对象", description = "非煤缴费种类关联对象")
public class NonCoalPayCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @NotNull(message = "参数不能为空")
    @ApiModelProperty("非煤管理id")
    private Long nonCoalPayId;
 
    /**
     * 类别id
     */
    @Excel(name = "类别id")
    @NotNull(message = "类别不能为空")
    @ApiModelProperty("类别id")
    private Long categoryId;
 
    /**
     * 类别1理论2实操
     */
    @Excel(name = "类别1理论2实操")
    @NotNull(message = "类别类型不能为空")
    @ApiModelProperty("类别类型id")
    private Long categoryType;
 
    @Excel(name = "金额")
    @ApiModelProperty("金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal categoryAmount;
    /**
     * 删除标志(0代表存在2代表删除)
     */
    private Integer delFlag;
 
    public BigDecimal getCategoryAmount() {
        return categoryAmount;
    }
 
    public void setCategoryAmount(BigDecimal categoryAmount) {
        this.categoryAmount = categoryAmount;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setNonCoalPayId(Long nonCoalPayId) {
        this.nonCoalPayId = nonCoalPayId;
    }
 
    public Long getNonCoalPayId() {
        return nonCoalPayId;
    }
 
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }
 
    public Long getCategoryId() {
        return categoryId;
    }
 
    public void setCategoryType(Long categoryType) {
        this.categoryType = categoryType;
    }
 
    public Long getCategoryType() {
        return categoryType;
    }
 
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
 
    public Integer getDelFlag() {
        return delFlag;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nonCoalPayId", getNonCoalPayId())
                .append("categoryId", getCategoryId())
                .append("categoryType", getCategoryType())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}