package com.xunmei.common.core.domain.edu.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * @author jingyuanchao
 * @date 2023/8/25 20:08
 */
@Data
public class CoreEduTrainingPlanDetailVo {

    @JsonSerialize(using = com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "计划周期")
    private Integer planCycle;

    @ApiModelProperty(value = "执行次数")
    private Integer execTimes;

    @ApiModelProperty(value = "计划开始时间")
    private Date startDate;
    @ApiModelProperty(value = "计划结束时间")
    private Date endDate;

    @ApiModelProperty(value = "计划状态")
    private int planStatus;

    @ApiModelProperty(value = "是否立即生效", notes = "0:否,1:是")
    private Boolean buildTaskNow = Boolean.FALSE;

    @ApiModelProperty(value = "培训机构类型")
    private Integer execOrgType;

    @Size(min = 1, message = "计划培训角色")
    @ApiModelProperty(value = "计划执行角色")
    private List<Long> planRoleId;

    @ApiModelProperty(value = "计划执行机构id")
    private List<Long> planExecOrgIdList;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "附件")
    private List<String> fileList;


}
