| | |
| | | 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 = 10,dateFormat = "yyyy-MM-dd") |
| | | private Date planRuntimeTime; |
| | | |
| | | /** |
| | | * 规格型号 |
| | |
| | | /** |
| | | * 数量 |
| | | */ |
| | | @Excel(name = "数量",sort = 5) |
| | | private BigDecimal number; |
| | | @Excel(name = "数量",sort = 5, type = Excel.Type.EXPORT) |
| | | private BigDecimal number = BigDecimal.ONE; |
| | | |
| | | /** |
| | | * 含税单价 |
| | |
| | | /** |
| | | * 含税总价 |
| | | */ |
| | | @Excel(name = "含税总价",sort = 7) |
| | | @Excel(name = "含税总价",sort = 7, type = Excel.Type.EXPORT) |
| | | private BigDecimal taxIncludingPriceTotal; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 不含税总价 |
| | | */ |
| | | @Excel(name = "不含税总价",sort = 9) |
| | | @Excel(name = "不含税总价",sort = 9, type = Excel.Type.EXPORT) |
| | | private BigDecimal unTaxIncludingPriceTotal; |
| | | // |
| | | // /** |
| | | // * 录入时间 |
| | | // * |
| | | // */ |
| | | // @Excel(name = "录入时间",sort = 10) |
| | | // @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | // private LocalDateTime createTime; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 录入人 |
| | | */ |
| | | @Excel(name = "录入人",sort = 9) |
| | | @Excel(name = "录入人",sort = 10) |
| | | private String createUser; |
| | | |
| | | @Excel(name = "设备编号", sort = 11) |
| | | private String uniqueCode; |
| | | |
| | | @Excel(name = "出厂编号", sort = 12) |
| | | private String factoryNumber; |
| | | |
| | | @Excel(name = "制造厂商", sort = 13) |
| | | private String manufacturer; |
| | | |
| | | @Excel(name = "资产原值", sort = 14) |
| | | private BigDecimal originalAssetValue; |
| | | |
| | | @Excel(name = "购置日期", sort = 15, dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date purchaseDate; |
| | | |
| | | @Excel(name = "启用日期", sort = 16, dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date activationDate; |
| | | |
| | | @Excel(name = "主要技术参数", sort = 17) |
| | | private String technicalParameters; |
| | | |
| | | @Excel(name = "主要用途", sort = 18) |
| | | private String mainPurpose; |
| | | |
| | | @Excel(name = "责任人", sort = 19) |
| | | private String responsiblePerson; |
| | | |
| | | @Excel(name = "建档日期", sort = 20, dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date filingDate; |
| | | } |