gaoluyang
14 小时以前 e6c576bb57aa314e62154bbfc852012280d15aff
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
package com.ruoyi.device.execl;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
 
@Data
public class DeviceLedgerExeclDto {
 
 
    /**
     * 设备名称
     */
    @Excel(name = "设备名称" ,sort = 1)
    private String deviceName;
 
    /**
     * 设备类型
     */
    @Excel(name = "设备类型",sort = 0,combo = {"生产设备","办公设备","检查设备","运输设备","其他设备"})
    private String type;
 
    @Schema(description = "计划运行时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划运行时间",sort = 9,dateFormat = "yyyy-MM-dd")
    private Date planRuntimeTime;
 
    /**
     * 规格型号
     */
    @Excel(name = "规格型号" ,sort = 2)
    private String deviceModel;
 
    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称",sort = 3)
    private String supplierName;
 
    /**
     * 单位
     */
    @Excel(name = "单位",sort = 4)
    private String unit;
 
    /**
     * 数量(不在导入模板/导出中展示,导入时按 1 台处理)
     */
    private BigDecimal number = BigDecimal.ONE;
 
    /**
     * 含税单价
     */
    @Excel(name = "含税单价",sort = 5)
    private BigDecimal taxIncludingPriceUnit;
 
    /**
     * 含税总价(不在导入模板/导出中展示,导入时按 含税单价 × 数量 计算)
     */
    private BigDecimal taxIncludingPriceTotal;
 
    /**
     * 税率
     */
    @Excel(name = "税率",sort = 6)
    private BigDecimal taxRate;
 
    /**
     * 不含税总价(不在导入模板/导出中展示,按税率折算)
     */
    private BigDecimal unTaxIncludingPriceTotal;
 
 
    /**
     * 是否启用 1-启用 0-停用
     */
    @Excel(name = "启用状态", sort = 7, readConverterExp = "1=启用,0=停用")
    private Integer isEnabled;
 
    /**
     * 录入人
     */
    @Excel(name = "录入人",sort = 8)
    private String createUser;
 
 
 
 
}