ustcyc
2025-01-07 5fd51c437819f1c9d027a936db4ba2ee7cd2e053
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
package com.zhitan.peakvalley.domain;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhitan.common.annotation.Excel;
import com.zhitan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import java.util.Date;
 
/**
 * 尖峰平谷电价时间段对象 electricity_price_date
 *
 * @author ZhiTan
 * @date 2024-10-10
 */
@TableName("electricity_price_date")
public class ElectricityPriceDate extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /** 主键 */
    private String id;
 
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginDate;
 
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;
 
//    /** 是否阶梯价格0否1是 */
//    @Excel(name = "是否阶梯价格0否1是")
//    private String type;
//
//    /** 策略编码 */
//    @Excel(name = "策略编码")
//    private String tacticsNumber;
//
//    /** 策略名称 */
//    @Excel(name = "策略名称")
//    private String tacticsName;
//
//    /** 能源品种 */
//    @Excel(name = "能源品种")
//    private Integer energyType;
 
//    public void setType(String type) {
//        this.type = type;
//    }
//
//    public void setTacticsNumber(String tacticsNumber) {
//        this.tacticsNumber = tacticsNumber;
//    }
//
//    public void setTacticsName(String tacticsName) {
//        this.tacticsName = tacticsName;
//    }
//
//    public void setEnergyType(Integer energyType) {
//        this.energyType = energyType;
//    }
//
//    public String getType() {
//        return type;
//    }
//
//    public String getTacticsNumber() {
//        return tacticsNumber;
//    }
//
//    public String getTacticsName() {
//        return tacticsName;
//    }
//
//    public Integer getEnergyType() {
//        return energyType;
//    }
 
    public void setId(String id)
    {
        this.id = id;
    }
 
    public String getId()
    {
        return id;
    }
    public void setBeginDate(Date beginDate)
    {
        this.beginDate = beginDate;
    }
 
    public Date getBeginDate()
    {
        return beginDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }
 
    public Date getEndDate()
    {
        return endDate;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
        .toString();
    }
}