车间能级提升-智能设备管理系统
朱桂飞
2025-02-08 a4e9be7205274b93571c74268855b39129145328
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
package org.dromara.eims.domain.vo;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.eims.domain.EimsInventory;
 
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
 
/**
 * 盘点视图对象 eims_inventory
 *
 * @author zhuguifei
 * @date 2025-01-16
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EimsInventory.class)
public class EimsInventoryVo implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     * 盘点id
     */
    @ExcelProperty(value = "盘点id")
    private Long inventoryId;
 
    /**
     * 盘点单号
     */
    @ExcelProperty(value = "盘点单号")
    private String inventoryCode;
 
    /**
     * 盘点名称
     */
    @ExcelProperty(value = "盘点名称")
    private String inventoryName;
    /**
     * 盘点范围-设备类型(设备类型id-逗号隔开)
     */
    @ExcelProperty(value = "盘点范围-设备类型")
    private String equTypes;
    /**
     * 盘点范围-设备状态(设备状态-字典)
     */
    @ExcelProperty(value = "盘点范围-设备状态")
    private String equStatus;
    /**
     * 盘点范围-设备类型(设备类型id-逗号隔开)
     */
    private List<Long> equTypesList;
    /**
     * 盘点范围-设备状态(设备状态-字典)
     */
    private List<String> equStatusList;
 
    /**
     * 盘点人
     */
    private Long inventoryUser;
 
    @ExcelProperty(value = "盘点人")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "inventoryUser")
    private String inventoryUserName;
 
    /**
     * 盘点人部门
     */
    @ExcelProperty(value = "盘点人部门")
    private Long userDept;
 
    /**
     * 开始日期
     */
    @ExcelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
 
    /**
     * 结束日期
     */
    @ExcelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
 
    /**
     * 盘点状态
     */
    @ExcelProperty(value = "盘点状态")
    private String status;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
 
 
}