| | |
| | | package com.by4cloud.platformx.device.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.by4cloud.platformx.common.data.mybatis.BaseModel; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Table; |
| | |
| | | @Data |
| | | @Entity |
| | | @Table(appliesTo = "device_demand_total", comment = "设备需求计划项目子表") |
| | | public class DeviceDemandTotal extends DeviceBaseModel<DeviceDemandTotal>{ |
| | | public class DeviceDemandTotal extends BaseModel<DeviceDemandTotal> { |
| | | @Schema(description = "需求计划id") |
| | | @Column(columnDefinition="int comment '需求计划id'") |
| | | private Integer planId; |
| | | @Column(columnDefinition="long comment '需求计划id'") |
| | | private Long planId; |
| | | @Schema(description = "拟使用地点") |
| | | @Column(columnDefinition="VARCHAR(64) comment '拟使用地点'") |
| | | private String place; |
| | | @Schema(description = "申请部门") |
| | | @Column(columnDefinition="int comment '申请部门'") |
| | | private Integer deptId; |
| | | @Column(columnDefinition="long comment '申请部门'") |
| | | private Long deptId; |
| | | @Schema(description = "建议厂家") |
| | | @Column(columnDefinition="VARCHAR(64) comment '建议厂家'") |
| | | private String manu; |
| | | @Schema(description = "投资必要性") |
| | | @Column(columnDefinition="VARCHAR(64) comment '投资必要性'") |
| | | private String necessity; |
| | | @Column(columnDefinition = "double(10,2) comment '计划总额'") |
| | | private Double amount; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |