| | |
| | | package com.by4cloud.platformx.device.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.by4cloud.platformx.common.data.mybatis.BaseModel; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Transient; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author kdq |
| | |
| | | */ |
| | | @Column(columnDefinition="long comment '合同Id'") |
| | | private Long contractId; |
| | | |
| | | // /** |
| | | // * 租用合同Id |
| | | // */ |
| | | // @Column(columnDefinition="long comment '租用合同Id'") |
| | | // private Long rentContractId; |
| | | |
| | | @Schema(description = "验收公司") |
| | | @Column(columnDefinition="VARCHAR(64) comment '验收公司'") |
| | | private String releaseCompName; |
| | |
| | | /** |
| | | * 总金额 |
| | | */ |
| | | @TableField("`output`") |
| | | @Column(columnDefinition="double comment '总金额'") |
| | | private Double output; |
| | | |
| | | @Schema(description = "验收单编号") |
| | | @Column(columnDefinition="VARCHAR(32) comment '验收单编号'") |
| | | private String releaseCode; |
| | | |
| | | /** |
| | | * 来源类型 |
| | | */ |
| | | @Schema(description = "来源类型") |
| | | @Column(columnDefinition="INTEGER comment '来源类型'") |
| | | private String resourceType; |
| | | |
| | | /** |
| | | * 生产厂商 |
| | | */ |
| | | @Schema(description = "生产厂商") |
| | | @Column(columnDefinition="long comment '生产厂商'") |
| | | private Long manufacturerId; |
| | | |
| | | /** |
| | | * 出厂日期 |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(description = "出厂日期") |
| | | @Column(columnDefinition = "datetime comment '出厂日期'") |
| | | private Date productDate; |
| | | |
| | | /** |
| | | * 验收情况 |
| | | */ |
| | | @Schema(description = "验收情况") |
| | | @Column(columnDefinition="VARCHAR(1024) comment '验收情况'") |
| | | private String releaseSituation; |
| | | |
| | | /** |
| | | * 整改情况 |
| | | */ |
| | | @Schema(description = "整改情况") |
| | | @Column(columnDefinition="VARCHAR(1024) comment '整改情况'") |
| | | private String correctionSituation; |
| | | |
| | | /** |
| | | * 验收结论 |
| | | */ |
| | | @Schema(description = "验收结论") |
| | | @Column(columnDefinition="VARCHAR(1024) comment '验收结论'") |
| | | private String releaseConclusion; |
| | | |
| | | /** |
| | | * 检验报告 |
| | | */ |
| | | @Schema(description = "检验报告") |
| | | @Column(columnDefinition="VARCHAR(1024) comment '检验报告'") |
| | | private String inspectionReport; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Schema(description = "备注") |
| | | @Column(columnDefinition="VARCHAR(256) comment '备注'") |
| | | private String remarks; |
| | | |
| | | /** |
| | | * 使用公司 |
| | | */ |
| | | @Schema(description = "使用公司") |
| | | @Column(columnDefinition="long comment '使用公司'") |
| | | private Long deptId; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | private List<ReceivingNoteItem> noteItemList; |
| | | } |