package com.persagy.calendar.pojo.old;

import java.util.List;

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

import com.persagy.common.constant.CommonConstant;

import lombok.Getter;
import lombok.Setter;

/**
 * @version 
 * @description 
 * @company persagy
 * @author zhangqiankun
 * @since 2020年10月4日:	下午1:30:03
 */
@Getter
@Setter
public class OldCalendarIntervalDeleteVO {
	
	@NotBlank(message = "code不可为空")
	//@ApiModelProperty(value = "作息时段编码", required = true)
	private String code;
	
	@Valid
	@NotEmpty(message = "dates不可为空")
	//@ApiModelProperty(value = "dates", required = true)
	private List<DataRangeVO> dates;
	
	//@ApiModelProperty(hidden = true)
	private String projectId = CommonConstant.DEFAULT_USER_ID;
	
}
