郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
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
package com.gkhy.safePlatform.account.model.dto.req;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/**
 * 时间策略传参对象
 */
public class TimeStrategyReqDTO {
 
 
    //ID
    private Long id;
 
    //时间策略名称
    @NotBlank(message = "时间策略名称不能为空")
    private String name;
 
    //描述
    private String info;
 
    //工作时间组
    @NotNull(message = "工作时间组id不能为空")
    private Long workTimeGroupId;
 
    //休息时间组
    @NotNull(message = "休息时间组id不能为空")
    private Long breakTimeGroupId;
 
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getInfo() {
        return info;
    }
 
    public void setInfo(String info) {
        this.info = info;
    }
 
    public Long getWorkTimeGroupId() {
        return workTimeGroupId;
    }
 
    public void setWorkTimeGroupId(Long workTimeGroupId) {
        this.workTimeGroupId = workTimeGroupId;
    }
 
    public Long getBreakTimeGroupId() {
        return breakTimeGroupId;
    }
 
    public void setBreakTimeGroupId(Long breakTimeGroupId) {
        this.breakTimeGroupId = breakTimeGroupId;
    }
}