RuleSettingScheduling.java
1.22 KB
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
package com.ruoyi.domain;
import com.alibaba.fastjson2.JSON;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
* 考勤规则表
* @author 20412
* @TableName rule_setting_scheduling
*/
@TableName(value ="rule_setting_scheduling")
@Data
public class RuleSettingScheduling implements Serializable {
/**
*
*/
@TableId(type = IdType.AUTO)
private Integer id;
/**
* 设置表id
*/
@NotNull(message = "设置表id不能为空")
private Integer settingId;
/**
* 规则id
*/
private Integer ruleSchedulingId;
/**
* 规则名称
*/
private String ruleName;
/**
* 时间范围
*/
private String rangeTime;
/**
* 序号
*/
@NotNull(message = "序号不能为空")
private Integer sort;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}