| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.dto.DateQueryDto; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | 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.time.LocalDateTime; |
| | | import java.util.List; |
| | | import com.ruoyi.basic.dto.StorageBlobDTO; |
| | | import com.ruoyi.basic.dto.StorageBlobVO; |
| | | |
| | | /** |
| | | * 设备台账实体类 |
| | |
| | | /** |
| | | * 设备品牌 |
| | | */ |
| | | @ApiModelProperty("设备品牌") |
| | | @Schema(description = "设备品牌") |
| | | private String deviceBrand; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | @ApiModelProperty("存放位置") |
| | | @Schema(description = "存放位置") |
| | | private String storageLocation; |
| | | |
| | | |
| | |
| | | * 供应商名称 |
| | | */ |
| | | private String supplierName; |
| | | |
| | | @Schema(description = "设备编号") |
| | | private String uniqueCode; |
| | | |
| | | @Schema(description = "出厂编号") |
| | | private String factoryNumber; |
| | | |
| | | @Schema(description = "制造厂商") |
| | | private String manufacturer; |
| | | |
| | | @Schema(description = "资产原值") |
| | | private BigDecimal originalAssetValue; |
| | | |
| | | @Schema(description = "购置日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate purchaseDate; |
| | | |
| | | @Schema(description = "启用日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate activationDate; |
| | | |
| | | @Schema(description = "主要技术参数") |
| | | private String technicalParameters; |
| | | |
| | | @Schema(description = "主要用途") |
| | | private String mainPurpose; |
| | | |
| | | @Schema(description = "责任人") |
| | | private String responsiblePerson; |
| | | |
| | | @Schema(description = "建档日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate filingDate; |
| | | |
| | | /** |
| | | * 设备附件(用于接收) |
| | | */ |
| | | @TableField(exist = false) |
| | | @Schema(description = "设备附件接收列表") |
| | | private List<StorageBlobDTO> storageBlobDTOs; |
| | | |
| | | /** |
| | | * 设备附件(用于返回) |
| | | */ |
| | | @TableField(exist = false) |
| | | @Schema(description = "设备附件展示列表") |
| | | private List<StorageBlobVO> storageBlobVOs; |
| | | |
| | | /** |
| | | * 单位 |
| | |
| | | */ |
| | | private Long tenantId; |
| | | |
| | | @ApiModelProperty("状态") |
| | | @Schema(description = "状态") |
| | | private String status; |
| | | |
| | | @ApiModelProperty("计划运行时间") |
| | | @Schema(description = "计划运行时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate planRuntimeTime; |
| | | |
| | | @ApiModelProperty("开始运行时间") |
| | | @Schema(description = "开始运行时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime startRuntimeTime; |
| | | |
| | | @ApiModelProperty("结束运行时间") |
| | | @Schema(description = "结束运行时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime endRuntimeTime; |
| | | |
| | | @ApiModelProperty("运行时长") |
| | | @Schema(description = "运行时长") |
| | | private String runtimeDuration; |
| | | |
| | | |
| | | @ApiModelProperty("是否折旧 1-是 2-否") |
| | | @Schema(description = "是否折旧 1-是 2-否") |
| | | private Integer isDepr; |
| | | |
| | | @ApiModelProperty("每年折旧金额") |
| | | @Schema(description = "每年折旧金额") |
| | | private BigDecimal annualDepreciationAmount; |
| | | |
| | | @ApiModelProperty("设备类型") |
| | | @Schema(description = "设备类型") |
| | | private String type; |
| | | } |