| | |
| | | public class ContractInvoice extends BaseModel<ContractInvoice> { |
| | | |
| | | @Schema(description = "关联合同ID") |
| | | @Column(columnDefinition = "bigint not null comment '关联合同ID'") |
| | | @Column(columnDefinition = "bigint comment '关联合同ID'") |
| | | private Long contractId; |
| | | |
| | | @Schema(description = "发票类型") |
| | |
| | | private String invoiceCategory; |
| | | |
| | | @Schema(description = "开票金额(不含税)") |
| | | @Column(columnDefinition="decimal(10,2) comment '开票金额(含税'") |
| | | @Column(columnDefinition="decimal(10,2) comment '开票金额(不含税'") |
| | | private BigDecimal invoiceTotalPrice; |
| | | |
| | | @Schema(description = "开票税额") |
| | |
| | | |
| | | @Schema(description = "机构税号") |
| | | @Column(columnDefinition="varchar(64) comment '机构税号'") |
| | | private String texNo; |
| | | private String taxNo; |
| | | |
| | | @Schema(description = "销售方名称") |
| | | @Column(columnDefinition="varchar(128) comment '销售方名称'") |
| | |
| | | @Schema(description = "购买方名称") |
| | | @Column(columnDefinition="varchar(128) comment '购买方名称'") |
| | | private String buyerTaxName; |
| | | |
| | | @Schema(description = "购买方税号") |
| | | @Column(columnDefinition="varchar(128) comment '购买方名称'") |
| | | private String buyerTaxNo; |
| | | |
| | | @Schema(description = "发票预览信息") |
| | | @Column(columnDefinition="text comment '发票预览信息'") |
| | |
| | | private String bipPush; |
| | | |
| | | @Schema(description = "bip推送成功后返回数据ID") |
| | | @Column(columnDefinition="bigint comment 'bip推送标识 1/已推送 0/未推送'") |
| | | @Column(columnDefinition="bigint comment 'bip推送成功后返回数据ID'") |
| | | private Long bipId; |
| | | |
| | | @Schema(description = "发票预览bip推送成功后返回的数据结构") |
| | | @Column(columnDefinition="text comment '发票预览信息'") |
| | | @Column(columnDefinition="text comment '发票预览bip推送成功后返回的数据结构'") |
| | | private String bipBody; |
| | | |
| | | @Schema(description = "bip推送成功后返回数据ID") |
| | | @Column(columnDefinition="varchar(64) comment 'bip推送成功后返回数据ID'") |
| | | private String bipFileId; |
| | | |
| | | @Schema(description = "关联请求ID") |
| | | @Column(columnDefinition = "varchar(64) comment '关联请求ID'") |
| | | private String bwRequestId; |
| | | |
| | | @Schema(description = "关联请求参数") |
| | | @Column(columnDefinition = "text comment '关联请求参数'") |
| | | private String bwRequestParam; |
| | | |
| | | @Schema(description = "请求结果") |
| | | @Column(columnDefinition = "char comment '请求结果 0/失败 1/成功'") |
| | | private String bwRequestResult; |
| | | |
| | | @Schema(description = "预收开票标识") |
| | | @Column(columnDefinition = "char default '0' comment '0/否 1/是'") |
| | | private String advanceFlag; |
| | | |
| | | @Schema(description = "发票来源") |
| | | @Column(columnDefinition="char default '0' comment '发票来源 0/系统生成 1/外部获取'") |
| | | private String invoiceSource; |
| | | |
| | | @Schema(description = "是否合并开票") |
| | | @Column(name = "isMerge",columnDefinition="tinyint(1) default 0 comment '是否合并开票 0/否 1/是'") |
| | | private Boolean isMerge; |
| | | |
| | | @Schema(description = "合并开票合同id") |
| | | @Column(columnDefinition="text comment '合并开票合同id'") |
| | | private String contractIds; |
| | | |
| | | } |