dev-tmp1
luotaiqian 2026-08-11 17:35:45 +08:00
parent 423d03f416
commit 4d9af7ce8b
1 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,9 @@ package org.qinan.safetyeval.client.dto;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/** /**
* *
* *
@ -11,21 +14,31 @@ import lombok.Data;
@Data @Data
public class QualFilingReviewAddCmd { public class QualFilingReviewAddCmd {
// 与库表 filing_id bigint NOT NULL 对齐
@ApiModelProperty(value = "备案申请id") @ApiModelProperty(value = "备案申请id")
@NotNull(message = "备案申请id不能为空")
private Long filingId; private Long filingId;
// 与库表 review_result varchar(32) 对齐
@ApiModelProperty(value = "审核结果(1通过2待定3不通过)") @ApiModelProperty(value = "审核结果(1通过2待定3不通过)")
@Size(max = 32, message = "审核结果不能超过32字")
private String reviewResult; private String reviewResult;
// 与库表 review_result_remark varchar(255) 对齐
@ApiModelProperty(value = "审核结果文字描述") @ApiModelProperty(value = "审核结果文字描述")
@Size(max = 255, message = "审核结果文字描述不能超过255字")
private String reviewResultRemark; private String reviewResultRemark;
@ApiModelProperty(value = "专家id") @ApiModelProperty(value = "专家id")
private Long filingExpertId; private Long filingExpertId;
// 与库表 filing_expert_name varchar(255) 对齐
@ApiModelProperty(value = "专家名称") @ApiModelProperty(value = "专家名称")
@Size(max = 255, message = "专家名称不能超过255字")
private String filingExpertName; private String filingExpertName;
// 与库表 review_opinion varchar(512) 对齐
@ApiModelProperty(value = "综合审核意见") @ApiModelProperty(value = "综合审核意见")
@Size(max = 512, message = "综合审核意见不能超过512字")
private String reviewOpinion; private String reviewOpinion;
} }