package com.fjhx.prove.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import com.fjhx.shipment.entity.ShipmentPackingProduct; import lombok.Data; import org.springblade.core.mp.base.BasicsEntity; import org.springblade.core.tool.utils.DateUtil; import org.springblade.system.attachment.entity.Attachment; import java.math.BigDecimal; import java.util.Date; import java.util.List; /** * 单证表 */ @Data @TableName("t_erp_bill_prove") public class BillProve extends BasicsEntity { private static final long serialVersionUID = -7555712779742471140L; /** * 租户ID */ private String tenantId; /** * 合同id */ private String contractId; /** * 合同号 */ private String contractCode; /** * 企业ID */ private String companyId; /** * 是否显示公章:0、否;1、是 */ private Integer isShowOfficialSeal; /** * 装箱打包批次号 */ private String batchCode; /** * 是否已生成运单号,0:否、1:是 */ private Integer isShipment; /** * 运单号 */ private String waybillCode; /** * 货币类型(字典) */ private String currencyType; /** * 贸易方式(字典) */ private String tradeModeId; @TableField(exist = false) private String tradeModeName; /** * 运输方式(字典) */ private String shippingType; @TableField(exist = false) private String shippingTypeName; /** * 快递(字典) */ private String expressId; @TableField(exist = false) private String expressName; /** * 起运港 */ private String wharf; /** * 目的国ID */ private String toCountryId; /** * 目的国(中文) */ private String toCountry; /** * 目的国(英文) */ private String toCountryEn; /** * 预付比例 */ private BigDecimal prePayRatio; /** * 保质期,天 */ private Integer warrantyDay; /** * 付款条件说明 */ private String paymentRemark; /** * 有效期,格式:年-月-日 */ @JsonFormat(pattern = DateUtil.PATTERN_DATE) private Date validTime; /** * 交货天数 */ private Integer deliveryDay; /** * 唛头 */ private String shippingMark; /** * 是否显示银行信息,0:否、1:是 */ private Integer showBank; /** * 付款方式(字典) */ private String payWay; @TableField(exist = false) private String payWayName; /** * 银行名称 */ private String bankName; /** * 银行SWIFT CODE */ private String bankSwiftCode; /** * 银行账号 */ private String bankAcc; /** * 银行地址 */ private String bankAddress; /** * 收款人名称 */ private String collectionUserName; /** * 收款人地址 */ private String collectionAddress; /** * 来源,0:装箱打包生成、1:单证新增 * * @see com.fjhx.prove.constant.BillProveConstant.Source */ private Integer source; /** * 客户名称 */ @TableField(exist = false) private String customerCompanyName; /** * 货代公司名称 */ @TableField(exist = false) private String forwarderCompanyName; /** * 单证货代公司表id */ @TableField(exist = false) private String billProveForwarderId; /** * 附件 */ @TableField(exist = false) private List attachments; /** * 装箱产品 */ @TableField(exist = false) private List products; /** * 境内货源地 */ private String withinChinaSource; }