package jnpf.model.cultivate.dto.offline;

import lombok.Data;

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

@Data
public class FtbModifyOfflineTrainingMembersDTO {

    /**
     * 线下培训主键id
     */
    @NotBlank(message = "线下培训主键id不能为空")
    private String offlineTrainId;

    /**
     * 用户id
     */
    @NotNull(message = "请至少选择一个用户")
    @Size(min = 1, message = "请至少选择一个用户")
    @Valid
    private List<String> userIds;

}
