package com.gkhy.safePlatform.account.model.dto.resp;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 休息时间规则实体类
|
*/
|
@TableName("schedule_break_time_rule")
|
public class BreakTimeRuleRespDTO implements Serializable {
|
|
private static final long serialVersionUID = 8914512112928348446L;
|
|
//ID
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
//时间规则名称
|
private String name;
|
|
//描述
|
private String info;
|
|
//休息类型
|
private Byte type;
|
|
//规则-计时单位 日,周,月,年 0,1,2,3
|
private Byte rule;
|
|
//规则序号,周(1-7),月(1-31)
|
private String ruleNumber;
|
|
|
|
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 Byte getType() {
|
return type;
|
}
|
|
public void setType(Byte type) {
|
this.type = type;
|
}
|
|
public Byte getRule() {
|
return rule;
|
}
|
|
public void setRule(Byte rule) {
|
this.rule = rule;
|
}
|
|
public String getRuleNumber() {
|
return ruleNumber;
|
}
|
|
public void setRuleNumber(String ruleNumber) {
|
this.ruleNumber = ruleNumber;
|
}
|
|
|
}
|