package io.hmit.modules.job.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.hmit.common.validator.group.AddGroup;
import io.hmit.common.validator.group.DefaultGroup;
import io.hmit.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

/**
 * 定时任务
 *
 * @author zsh 408538940@qq.com
 * @since 1.0.0
 */
@Data
@ApiModel(value = "节假日信息")
public class HolidayJsonDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "星期--中文表示")
    private String name;
    @ApiModelProperty(value = "节假日类型 0 正常工作日 1,周末 2,法定节假日 3调休")
    private Integer type;
    @ApiModelProperty(value = "星期--数字表示")
    private Integer week;

}
