package jnpf.model.cultivate.v2.teaching.req;

import jnpf.model.cultivate.v2.teaching.model.V2Attachment;
import lombok.Data;

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

@Data
public class V2TeachingSaveReq {


    /**
     * 带教记录(有-更新,无-新增)
     */
    private String id;
    /**
     * 1.带教 2.练习
     */
    private Integer type;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 门店id
     */
    @NotBlank(message = "门店id不能为空")
    private String storeId;

    /**
     * 技能点id
     */
    @NotBlank(message = "技能id不能为空")
    private String skillId;
    /**
     * 学员
     */
    private List<String> studentUserIds;
    /**
     * 日期
     */
    @NotNull(message = "日期不能为空")
    private Date date;

    /**
     * 视频图片(最多9张)
     */
    private List<V2Attachment> attachments;

    /**
     * 备注
     */
    private String remark;

}
