| | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("device_maintenance") |
| | |
| | | @ApiModelProperty("租户id") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |
| | | @ApiModelProperty("领用备件ids") |
| | | private String sparePartsIds; |
| | | |
| | | @ApiModelProperty("使用备件列表") |
| | | @TableField(exist = false) |
| | | private List<SparePartUse> sparePartsUseList; |
| | | |
| | | @Data |
| | | public static class SparePartUse { |
| | | private Long id; |
| | | private Integer quantity; |
| | | } |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |