| | |
| | | @jakarta.persistence.Table(name = "contract_out_bound")//数据库创建的表明 |
| | | public class ContractOutBound extends BaseModel<ContractOutBound> { |
| | | |
| | | @Schema(description = "Erp出库Id") |
| | | @Column(columnDefinition = "bigint not null comment 'Erp出库Id'") |
| | | private Long OutBoundId; |
| | | |
| | | @Schema(description = "关联合同ID") |
| | | @Column(columnDefinition = "bigint not null comment '关联合同ID'") |
| | | private Long contractId; |
| | |
| | | @Column(columnDefinition="text comment '到货单据路径'") |
| | | private String arrivalAttPaths; |
| | | |
| | | @Schema(description = "erp出库ID") |
| | | @Column(columnDefinition="bigint comment 'erp出库ID'") |
| | | private Long outBoundId; |
| | | |
| | | //以下开票相关 |
| | | |
| | | @Schema(description = "销售挂账id") |
| | | @Column(columnDefinition = "bigint default null comment '销售挂账id'") |
| | | private Long saleCreditId; |
| | | |
| | | @Schema(description = "开票状态(0-未开票 1-开票中 2-已开票)") |
| | | @Column(columnDefinition = "tinyint(2) default 0 comment '开票状态(0-未开票 1-开票中 2-已开票)'") |
| | | private Integer invoiceSatus; |
| | | |
| | | @Schema(description = "总单价") |
| | | @Column(columnDefinition = "decimal(10,0) comment '出库数量'") |
| | | private BigDecimal totalPrice; |
| | | |
| | | @Schema(description = "总税额") |
| | | @Column(columnDefinition = "decimal(10,0) comment '总税额'") |
| | | private BigDecimal totalTax; |
| | | |
| | | //产品信息 |
| | | |
| | | @Schema(description = "产品id") |
| | | @Column(columnDefinition = "bigint not null comment '产品id'") |
| | | private Long productId; |
| | | |
| | | @Schema(description = "税率(百分比,如13表示13%)") |
| | | @Column(columnDefinition = "double default 0.00 comment '税率'") |
| | | private Double taxRate; |
| | | |
| | | @Schema(description = "税收分类") |
| | | @Column(columnDefinition = "VARCHAR(50) comment '税收分类'") |
| | | private String taxClass; |
| | | |
| | | @Schema(description = "税收编码") |
| | | @Column(columnDefinition = "VARCHAR(80) comment '税收编码'") |
| | | private String taxCode; |
| | | |
| | | //合同标的物中信息 |
| | | |
| | | @Schema(description = "标的物规格/型号") |
| | | @Column(columnDefinition = "VARCHAR(200) comment '标的物规格/型号'") |
| | | private String specification; |
| | | |
| | | @Schema(description = "计量单位(个/台/吨/项/套等)") |
| | | @Column(columnDefinition = "VARCHAR(20) comment '计量单位'") |
| | | private String unit; |
| | | |
| | | @Schema(description = "单价") |
| | | @Column(columnDefinition = "decimal(10,2) comment '单价'") |
| | | private BigDecimal unitPrice; |
| | | } |