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

import jnpf.model.cultivate.dto.offline.FtbCultivateOfflineFileDTO;
import lombok.Data;

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

/**
 * 实操鉴定项表
 */
@Data
public class V2IdentifyApplyItemReq {
    /**
     * 鉴定项id
     */
    @NotBlank(message = "鉴定项id不能为空")
    private String id;

    /**
     * 鉴定项得分
     */
    @NotNull(message = "鉴定项得分不能为空")
    private BigDecimal identifyScore;

    private List<FtbCultivateOfflineFileDTO> files;

    /**
     * 鉴定项备注
     */
    @Size(max = 500, message = "鉴定项备注不能超过500个字符")
    private String remark;
}