| | |
| | | package com.by4cloud.platformx.device.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.by4cloud.platformx.common.data.mybatis.BaseModel; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Transient; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author kdq |
| | |
| | | @Entity |
| | | @Table(appliesTo = "device_demand_plan", comment = "设备需求计划主表") |
| | | public class DeviceDemandPlan extends BaseModel<DeviceDemandPlan> { |
| | | |
| | | @Schema(description = "合并计划id") |
| | | @Column(columnDefinition="long comment '合并计划id'") |
| | | private Long planId; |
| | | @Schema(description = "编码") |
| | | @Column(columnDefinition="VARCHAR(64) comment '编码'") |
| | | private String number; |
| | |
| | | @Schema(description = "联系人") |
| | | @Column(columnDefinition="VARCHAR(64) comment '联系人'") |
| | | private String contacts; |
| | | @Schema(description = "申报状态 0申请中,1二级单位审核拒绝 2二级单位审核通过 3集团审核拒绝 4集团审核通过") |
| | | @Schema(description = "申报状态 0申请中,1二级单位审核拒绝 2二级单位审核通过 3待集团批准 4集团审核拒绝 5集团审核通过") |
| | | @Column(columnDefinition="int comment '申报状态'") |
| | | private Integer status; |
| | | @Schema(description = "申报类型") |
| | | @Column(columnDefinition="int comment '申报类型'") |
| | | private Integer type; |
| | | |
| | | @Schema(description = "提交类型") |
| | | @Column(columnDefinition="int comment '提交类型 0矿提交 1子单位提交'") |
| | | private Integer type2; |
| | | @Schema(description = "申报公司id") |
| | | @Column(columnDefinition="long comment '申报公司id'") |
| | | private Long declareCompId; |
| | |
| | | @Schema(description = "上报时间") |
| | | @Column(columnDefinition = "datetime comment '上报时间'") |
| | | private Date sendDate; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | private List<DeviceDemandTotal> totalList; |
| | | } |