package cn.iocoder.yudao.module.mes.controller.admin.pd.techconfirm.vo;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 产品技术确认函 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class ProductTechConfirmRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
@ExcelProperty("编号")
|
private Long id;
|
|
@Schema(description = "确认函编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "TC20260801001")
|
@ExcelProperty("确认函编号")
|
private String confirmNo;
|
|
@Schema(description = "客户ID(关联 crm_customer.id)", example = "2048")
|
private Long customerId;
|
|
@Schema(description = "客户名称", example = "江苏华鹏变压器有限公司")
|
@ExcelProperty("客户名称")
|
private String customerName;
|
|
@Schema(description = "产品名称", example = "漆包扁铜线")
|
@ExcelProperty("产品名称")
|
private String productName;
|
|
@Schema(description = "规格型号", example = "QQNB-2/120")
|
@ExcelProperty("规格型号")
|
private String specification;
|
|
@Schema(description = "技术参数(JSON 格式)", example = "{\"thickness\":\"1.27\"}")
|
private String techParams;
|
|
@Schema(description = "模板类型(奥地利/日本/通用)", example = "general")
|
@ExcelProperty(value = "模板类型", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.PRODUCT_TECH_CONFIRM_TEMPLATE)
|
private String templateType;
|
|
@Schema(description = "编制人ID", example = "1")
|
private Long drafterId;
|
|
@Schema(description = "编制人姓名", example = "胡东")
|
@ExcelProperty("编制人")
|
private String drafterName;
|
|
@Schema(description = "编制时间")
|
@ExcelProperty("编制时间")
|
private LocalDateTime draftTime;
|
|
@Schema(description = "审核人ID", example = "2")
|
private Long reviewerId;
|
|
@Schema(description = "审核人姓名", example = "李工")
|
@ExcelProperty("审核人")
|
private String reviewerName;
|
|
@Schema(description = "审核时间")
|
@ExcelProperty("审核时间")
|
private LocalDateTime reviewTime;
|
|
@Schema(description = "客户确认人", example = "王经理")
|
@ExcelProperty("客户确认人")
|
private String customerConfirmUser;
|
|
@Schema(description = "客户确认时间")
|
@ExcelProperty("客户确认时间")
|
private LocalDateTime customerConfirmTime;
|
|
@Schema(description = "状态(0=草稿,1=待审核,2=已审核,3=客户已确认)", example = "0")
|
@ExcelProperty(value = "状态", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.PRODUCT_TECH_CONFIRM_STATUS)
|
private Integer status;
|
|
@Schema(description = "备注", example = "测试备注")
|
@ExcelProperty("备注")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@ExcelProperty("创建时间")
|
private LocalDateTime createTime;
|
|
}
|