| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * 产品技术确认函新增/修改 Request VO |
| | | * |
| | | * 注意:本 VO 只承载用户可填写的业务字段。 |
| | | * 状态、编制人/编制时间、审核人/审核时间、客户确认人/客户确认时间均由业务流程驱动, |
| | | * 不接受前端传参,因此不在本 VO 中定义: |
| | | * <ul> |
| | | * <li>状态:创建时固定为草稿,由提交审批、BPM 审批回调、客户确认逐步推进</li> |
| | | * <li>编制人/编制时间:创建时取当前登录用户与当前时间</li> |
| | | * <li>审核人/审核时间:BPM 审批结束时取审批人写入</li> |
| | | * <li>客户确认人/客户确认时间:客户确认时取当前登录用户与当前时间</li> |
| | | * </ul> |
| | | * |
| | | * @author 超级管理员 |
| | | */ |
| | | @Schema(description = "管理后台 - 产品技术确认函新增/修改 Request VO") |
| | | @Data |
| | | public class ProductTechConfirmSaveReqVO { |
| | | |
| | | @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024") |
| | | @Schema(description = "编号(新增时为空,修改时必填)", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024") |
| | | private Long id; |
| | | |
| | | @Schema(description = "确认函编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "TC20260801001") |
| | |
| | | |
| | | @Schema(description = "模板类型(奥地利/日本/通用)", example = "general") |
| | | private String templateType; |
| | | |
| | | @Schema(description = "编制人ID", example = "1") |
| | | private Long drafterId; |
| | | |
| | | @Schema(description = "编制人姓名", example = "胡东") |
| | | private String drafterName; |
| | | |
| | | @Schema(description = "编制时间") |
| | | private LocalDateTime draftTime; |
| | | |
| | | @Schema(description = "审核人ID", example = "2") |
| | | private Long reviewerId; |
| | | |
| | | @Schema(description = "审核人姓名", example = "李工") |
| | | private String reviewerName; |
| | | |
| | | @Schema(description = "审核时间") |
| | | private LocalDateTime reviewTime; |
| | | |
| | | @Schema(description = "客户确认人", example = "王经理") |
| | | private String customerConfirmUser; |
| | | |
| | | @Schema(description = "客户确认时间") |
| | | private LocalDateTime customerConfirmTime; |
| | | |
| | | @Schema(description = "状态(0=草稿,1=待审核,2=已审核,3=客户已确认)", example = "0") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "备注", example = "测试备注") |
| | | private String remark; |