package com.persagy.calendar.pojo.old;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @version 
 * @description 
 * @company persagy
 * @author zhangqiankun
 * @since 2020年10月4日:	下午1:52:24
 */
@Getter
@Setter
@ApiModel
public class OldCalendarSetIntervalVO {
	
	@NotBlank(message = "code不可为空")
	@ApiModelProperty(value = "作息时段编码", required = true)
	private String code;
	
	@NotEmpty(message = "time不可为空")
	@ApiModelProperty(value = "一天内的时段", required = true)
	private List<String> time;
	
}
