package org.jeecg.modules.quartz.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description="延课通知数据")
public class JobExtendedClassNoticeVo {

    /** 用户微信openID*/
    @NotBlank(message = "用户微信openID不允许为空")
    private String userOpenId;

    /** 场地名称*/
    @NotBlank(message = "场地名称不允许为空")
    @Size(max = 20, message = "场地名称不能超过为20字符")
    private String siteName;

    /** 延课原因*/
    @NotBlank(message = "延课原因不允许为空")
    @Size(max = 20, message = "延课原因不能超过为20字符")
    private String reasonClassExtension;

    /** 课程时间*/
    @NotBlank(message = "课程时间不允许为空")
    @Size(max = 20, message = "课程时间不能超过为20字符")
    private String lassHourTime;

}
