xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package cn.iocoder.yudao.module.mes.controller.admin.pd.product.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.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 产品档案 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesPdProductRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "档案类型", example = "1")
    @ExcelProperty(value = "档案类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PD_PRODUCT_ARCHIVE_TYPE)
    private Integer archiveType;
 
    @Schema(description = "档案类型名称", example = "电力服务")
    private String archiveTypeName;
 
    @Schema(description = "档案编码", example = "P_20260820_0001")
    @ExcelProperty("档案编码")
    private String code;
 
    @Schema(description = "档案名称", example = "电力抢修服务")
    @ExcelProperty("档案名称")
    private String name;
 
    @Schema(description = "规格型号", example = "24h")
    @ExcelProperty("规格型号")
    private String spec;
 
    @Schema(description = "单位", example = "次")
    @ExcelProperty("单位")
    private String unit;
 
    @Schema(description = "基准价格", example = "500.00")
    @ExcelProperty("基准价格")
    private BigDecimal price;
 
    @Schema(description = "审批状态", example = "0")
    @ExcelProperty(value = "审批状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PD_PRODUCT_AUDIT_STATUS)
    private Integer auditStatus;
 
    @Schema(description = "审批状态名称", example = "未提交")
    private String auditStatusName;
 
    @Schema(description = "审批意见")
    private String auditRemark;
 
    @Schema(description = "审批时间")
    private LocalDateTime auditTime;
 
    @Schema(description = "启用状态", example = "1")
    private Integer status;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}