| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | @Excel(name = "设备类型",sort = 0,combo = {"生产设备","办公设备","检查设备","运输设备","其他设备"}) |
| | | private String type; |
| | | |
| | | @ApiModelProperty("计划运行时间") |
| | | @Schema(description = "计划运行时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "计划运行时间",sort = 10,dateFormat = "yyyy-MM-dd") |
| | |
| | | /** |
| | | * 录入人 |
| | | */ |
| | | @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; |
| | | } |