zhanghl
2025-04-22 1e7986b8dd426333307312926720d387a85138d5
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.aps.core.domain;
 
import com.aps.common.core.annotation.Excel;
import com.aps.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import java.util.Date;
 
/**
 * 日历管理对象 aps_work_calendar
 * 
 * @author hjy
 * @date 2025-04-22
 */
public class ApsWorkCalendar extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** $column.columnComment */
    private Long id;
 
    /** 描述 */
    @Excel(name = "描述")
    private String description;
 
    /** 类型,周工作/节假日 */
    @Excel(name = "类型,周工作/节假日")
    private String type;
 
    /** 日历生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日历生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveDate;
 
    /** 失效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiringDate;
 
    /** 日历内容 */
    @Excel(name = "日历内容")
    private String content;
 
    /** 适用工厂 */
    @Excel(name = "适用工厂")
    private String applicableFactory;
 
    /** 适用车间 */
    @Excel(name = "适用车间")
    private String applicableWorkshop;
 
    /** 适用工序 */
    @Excel(name = "适用工序")
    private String applicableProcess;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
 
    public void setDescription(String description) 
    {
        this.description = description;
    }
 
    public String getDescription() 
    {
        return description;
    }
 
    public void setType(String type) 
    {
        this.type = type;
    }
 
    public String getType() 
    {
        return type;
    }
 
    public void setEffectiveDate(Date effectiveDate) 
    {
        this.effectiveDate = effectiveDate;
    }
 
    public Date getEffectiveDate() 
    {
        return effectiveDate;
    }
 
    public void setExpiringDate(Date expiringDate) 
    {
        this.expiringDate = expiringDate;
    }
 
    public Date getExpiringDate() 
    {
        return expiringDate;
    }
 
    public void setContent(String content) 
    {
        this.content = content;
    }
 
    public String getContent() 
    {
        return content;
    }
 
    public void setApplicableFactory(String applicableFactory) 
    {
        this.applicableFactory = applicableFactory;
    }
 
    public String getApplicableFactory() 
    {
        return applicableFactory;
    }
 
    public void setApplicableWorkshop(String applicableWorkshop) 
    {
        this.applicableWorkshop = applicableWorkshop;
    }
 
    public String getApplicableWorkshop() 
    {
        return applicableWorkshop;
    }
 
    public void setApplicableProcess(String applicableProcess) 
    {
        this.applicableProcess = applicableProcess;
    }
 
    public String getApplicableProcess() 
    {
        return applicableProcess;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("description", getDescription())
            .append("type", getType())
            .append("effectiveDate", getEffectiveDate())
            .append("expiringDate", getExpiringDate())
            .append("content", getContent())
            .append("applicableFactory", getApplicableFactory())
            .append("applicableWorkshop", getApplicableWorkshop())
            .append("applicableProcess", getApplicableProcess())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}