package com.haitonggauto.rtosc.dto; import com.haitonggauto.rtosc.common.utils.ValidationGroup; import com.haitonggauto.rtosc.repository.enums.AuditEnum; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.List; @Data @ApiModel(value = "特保区审核") public class FreeTradeCheckVo implements Serializable { @ApiModelProperty(value = "特保区ID") @NotNull(groups = {ValidationGroup.insert.class, ValidationGroup.update.class}, message = "特保区ID不能为空") private List ids; @ApiModelProperty(value = "审核人ID") // @NotEmpty(groups = {ValidationGroup.insert.class, ValidationGroup.update.class}, message = "审核人ID不能为空") private String checkManId; /** * 审核人 */ @ApiModelProperty(value = "审核人") // @NotEmpty(groups = {ValidationGroup.insert.class, ValidationGroup.update.class}, message = "审核人不能为空") private String checkMan; /** * 审核时间 */ // private Date checkTime; /** * 审核状态 */ @ApiModelProperty(value = "审核状态") @NotNull(groups = {ValidationGroup.insert.class}, message = "审核状态不能为空") private AuditEnum checkStatus; /** * 审核原因 */ @ApiModelProperty(value = "审核原因") private String checkResult; }