customer/nuzar-customer-client/src/main/java/com/haitonggauto/rtosc/dto/FreeTradeCheckVo.java

52 lines
1.5 KiB
Java
Raw Normal View History

2023-11-02 16:33:24 +08:00
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<Long> 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;
}