123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540 |
- package com.emato.ccnet.wx.dto.ccnetdto;
- import com.emato.ccnet.wx.dao.entity.ccnet.CusWaybill;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.util.List;
- /**
- * 保税备货
- * @author zengjunlin
- * @version 1.0
- * 2017-10-26 11:03
- */
- public class BondedStockMerchantOrder implements Serializable {
- private static final long serialVersionUID = 3577514804854115706L;
- //商户编号
- private String merchId;
- //商户名称
- private String merchName;
- // 第三方商户代码
- private String thirdPartyMerchCode;
- //第三方商户名称
- private String thirdPartyMerchName;
- //商户订单编号
- private String merchOrderId;
- //订购人证件类型
- private String buyerIdType;
- //订购人证件号码
- private String buyerIdCode;
- //订购人姓名
- private String buyerName;
- //订购人电话
- private String buyerTel;
- //支付人证件类型
- private String payerIdType;
- //支付人证件号码
- private String payerIdCode;
- //支付人姓名
- private String payerName;
- //支付人电话
- private String payerMob;
- //收件人证件类型
- private String consigneeIdType;
- //收件人证件号码
- private String consigneeIdCode;
- //收件人姓名
- private String consigneeName;
- //收件人手机
- private String consigneeMob;
- //收件人电话
- private String consigneeTel;
- //收件人国家代码
- private String consigneeCountryCode;
- //收件人省区划代码
- private String consigneeProvinceCode;
- //收件人省名
- private String consigneeProvince;
- //收件人市区划代码
- private String consigneeCityCode;
- //收件人市名
- private String consigneeCity;
- //收件人区县区划代码
- private String consigneeDistrictCode;
- //收件人区县
- private String consigneeDistrict;
- //收件人地址
- private String consigneeAddress;
- //收件人邮政编码
- private String consigneeZipCode;
- //支付企业海关登记号
- private String payEntCusCode;
- //支付单号
- private String payNo;
- //实际支付金额
- private BigDecimal acturalPaid;
- //支付时间
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date payTime;
- //快递类型
- private String exprType;
- //快递公司编号
- private String exprCompId;
- //订购人下单时间
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date buyerBillTime;
- //申报用物流费
- private BigDecimal declExprFee;
- //申报用行邮税
- private BigDecimal declPostTax;
- //商户字段
- private String extraTag;
- //备注
- private String remark;
- //平台编码
- private String platSn;
- // 门店编号
- private String shopId;
- //海关支付推送成功
- private String cusPaymentSucceeded;
- // 海关订单推送成功
- private String cusOrderSucceeded;
- // 支付成功
- private String paySucceeded;
- // 订购人支付人核验
- private String buyerPayerCheck;
- // 快递协议类型
- private String exprAgreementType;
- // 运输方式
- private String transMode;
- //商品详情
- private List<BondedStockMerchantOrderItem> item;
- public BondedStockMerchantOrder(){}
- public BondedStockMerchantOrder(CusWaybill cusWaybill){
- this.merchId = cusWaybill.getMerchSn();
- this.merchOrderId = cusWaybill.getMerchOrderId();
- this.thirdPartyMerchCode = cusWaybill.getThirdPartyMerchCode();
- this.thirdPartyMerchName = cusWaybill.getThirdPartyMerchName();
- this.buyerIdType = cusWaybill.getBuyerIdType();
- this.buyerIdCode = cusWaybill.getBuyerIdCode() == null?cusWaybill.getConsigneeIdCode():cusWaybill.getBuyerIdCode();
- this.buyerName = cusWaybill.getBuyerName();
- this.buyerTel = cusWaybill.getBuyerTel();
- this.consigneeIdType = cusWaybill.getConsigneeIdType();
- this.consigneeIdCode = cusWaybill.getConsigneeIdCode();
- this.consigneeName = cusWaybill.getConsigneeName();
- this.consigneeMob = cusWaybill.getConsigneeMob();
- this.consigneeTel = cusWaybill.getConsigneeTel();
- this.consigneeCountryCode = cusWaybill.getConsigneeCountryCode();
- this.consigneeProvinceCode = cusWaybill.getConsigneeProvinceCode();
- this.consigneeProvince = cusWaybill.getConsigneeProvince();
- this.consigneeCityCode = cusWaybill.getConsigneeCityCode();
- this.consigneeCity = cusWaybill.getConsigneeCity();
- this.consigneeDistrictCode = cusWaybill.getConsigneeDistrictCode();
- this.consigneeDistrict = cusWaybill.getConsigneeDistrict();
- this.consigneeAddress = cusWaybill.getConsigneeAddress();
- this.consigneeZipCode = cusWaybill.getConsigneeZipCode();
- this.payerIdType = cusWaybill.getPayerIdType();
- this.payerIdCode = cusWaybill.getPayerIdCode();
- this.payerName = cusWaybill.getPayerName();
- this.payerMob = cusWaybill.getPayerMob();
- this.payEntCusCode = cusWaybill.getPayEntCusCode();
- this.payNo = cusWaybill.getPayNo();
- this.acturalPaid = cusWaybill.getActuralPaid();
- this.payTime = cusWaybill.getPayTime();
- this.buyerBillTime = cusWaybill.getBuyerBillTime()==null?new Date():cusWaybill.getBuyerBillTime();
- this.extraTag = cusWaybill.getCusWaybillSn();
- this.exprType = cusWaybill.getExprType();
- this.exprCompId = cusWaybill.getExprCompId();
- this.declExprFee = BigDecimal.valueOf(0);
- this.declPostTax = BigDecimal.valueOf(0);
- this.shopId = cusWaybill.getShopId();
- this.cusPaymentSucceeded = "0";
- this.cusOrderSucceeded = "0";
- this.paySucceeded = "0";
- System.out.println(cusWaybill.getExField());
- this.buyerPayerCheck = cusWaybill.getBuyerPayCheck();
- this.exprAgreementType = "00";
- this.transMode = "20";
- }
- public String getMerchId() {
- return merchId;
- }
- public void setMerchId(String merchId) {
- this.merchId = merchId;
- }
- public String getMerchOrderId() {
- return merchOrderId;
- }
- public void setMerchOrderId(String merchOrderId) {
- this.merchOrderId = merchOrderId;
- }
- public String getBuyerIdType() {
- return buyerIdType;
- }
- public void setBuyerIdType(String buyerIdType) {
- this.buyerIdType = buyerIdType;
- }
- public String getBuyerIdCode() {
- return buyerIdCode;
- }
- public void setBuyerIdCode(String buyerIdCode) {
- this.buyerIdCode = buyerIdCode;
- }
- public String getBuyerName() {
- return buyerName;
- }
- public void setBuyerName(String buyerName) {
- this.buyerName = buyerName;
- }
- public String getBuyerTel() {
- return buyerTel;
- }
- public void setBuyerTel(String buyerTel) {
- this.buyerTel = buyerTel;
- }
- public String getPayerIdType() {
- return payerIdType;
- }
- public void setPayerIdType(String payerIdType) {
- this.payerIdType = payerIdType;
- }
- public String getPayerIdCode() {
- return payerIdCode;
- }
- public void setPayerIdCode(String payerIdCode) {
- this.payerIdCode = payerIdCode;
- }
- public String getPayerName() {
- return payerName;
- }
- public void setPayerName(String payerName) {
- this.payerName = payerName;
- }
- public String getPayerMob() {
- return payerMob;
- }
- public void setPayerMob(String payerMob) {
- this.payerMob = payerMob;
- }
- public String getConsigneeIdType() {
- return consigneeIdType;
- }
- public void setConsigneeIdType(String consigneeIdType) {
- this.consigneeIdType = consigneeIdType;
- }
- public String getConsigneeIdCode() {
- return consigneeIdCode;
- }
- public void setConsigneeIdCode(String consigneeIdCode) {
- this.consigneeIdCode = consigneeIdCode;
- }
- public String getConsigneeName() {
- return consigneeName;
- }
- public void setConsigneeName(String consigneeName) {
- this.consigneeName = consigneeName;
- }
- public String getConsigneeMob() {
- return consigneeMob;
- }
- public void setConsigneeMob(String consigneeMob) {
- this.consigneeMob = consigneeMob;
- }
- public String getConsigneeTel() {
- return consigneeTel;
- }
- public void setConsigneeTel(String consigneeTel) {
- this.consigneeTel = consigneeTel;
- }
- public String getConsigneeCountryCode() {
- return consigneeCountryCode;
- }
- public void setConsigneeCountryCode(String consigneeCountryCode) {
- this.consigneeCountryCode = consigneeCountryCode;
- }
- public String getConsigneeProvinceCode() {
- return consigneeProvinceCode;
- }
- public void setConsigneeProvinceCode(String consigneeProvinceCode) {
- this.consigneeProvinceCode = consigneeProvinceCode;
- }
- public String getConsigneeProvince() {
- return consigneeProvince;
- }
- public void setConsigneeProvince(String consigneeProvince) {
- this.consigneeProvince = consigneeProvince;
- }
- public String getConsigneeCityCode() {
- return consigneeCityCode;
- }
- public void setConsigneeCityCode(String consigneeCityCode) {
- this.consigneeCityCode = consigneeCityCode;
- }
- public String getConsigneeCity() {
- return consigneeCity;
- }
- public void setConsigneeCity(String consigneeCity) {
- this.consigneeCity = consigneeCity;
- }
- public String getConsigneeDistrictCode() {
- return consigneeDistrictCode;
- }
- public void setConsigneeDistrictCode(String consigneeDistrictCode) {
- this.consigneeDistrictCode = consigneeDistrictCode;
- }
- public String getConsigneeDistrict() {
- return consigneeDistrict;
- }
- public void setConsigneeDistrict(String consigneeDistrict) {
- this.consigneeDistrict = consigneeDistrict;
- }
- public String getConsigneeAddress() {
- return consigneeAddress;
- }
- public void setConsigneeAddress(String consigneeAddress) {
- this.consigneeAddress = consigneeAddress;
- }
- public String getConsigneeZipCode() {
- return consigneeZipCode;
- }
- public void setConsigneeZipCode(String consigneeZipCode) {
- this.consigneeZipCode = consigneeZipCode;
- }
- public String getPayEntCusCode() {
- return payEntCusCode;
- }
- public void setPayEntCusCode(String payEntCusCode) {
- this.payEntCusCode = payEntCusCode;
- }
- public String getPayNo() {
- return payNo;
- }
- public void setPayNo(String payNo) {
- this.payNo = payNo;
- }
- public BigDecimal getActuralPaid() {
- return acturalPaid;
- }
- public void setActuralPaid(BigDecimal acturalPaid) {
- this.acturalPaid = acturalPaid;
- }
- public Date getPayTime() {
- return payTime;
- }
- public void setPayTime(Date payTime) {
- this.payTime = payTime;
- }
- public String getExprType() {
- return exprType;
- }
- public void setExprType(String exprType) {
- this.exprType = exprType;
- }
- public String getExprCompId() {
- return exprCompId;
- }
- public void setExprCompId(String exprCompId) {
- this.exprCompId = exprCompId;
- }
- public Date getBuyerBillTime() {
- return buyerBillTime;
- }
- public void setBuyerBillTime(Date buyerBillTime) {
- this.buyerBillTime = buyerBillTime;
- }
- public BigDecimal getDeclExprFee() {
- return declExprFee;
- }
- public void setDeclExprFee(BigDecimal declExprFee) {
- this.declExprFee = declExprFee;
- }
- public BigDecimal getDeclPostTax() {
- return declPostTax;
- }
- public void setDeclPostTax(BigDecimal declPostTax) {
- this.declPostTax = declPostTax;
- }
- public String getExtraTag() {
- return extraTag;
- }
- public void setExtraTag(String extraTag) {
- this.extraTag = extraTag;
- }
- public String getRemark() {
- return remark;
- }
- public void setRemark(String remark) {
- this.remark = remark;
- }
- public List<BondedStockMerchantOrderItem> getItem() {
- return item;
- }
- public void setItem(List<BondedStockMerchantOrderItem> item) {
- this.item = item;
- }
- public String getPlatSn() {
- return platSn;
- }
- public void setPlatSn(String platSn) {
- this.platSn = platSn;
- }
- public String getMerchName() {
- return merchName;
- }
- public void setMerchName(String merchName) {
- this.merchName = merchName;
- }
- public String getThirdPartyMerchCode() {
- return thirdPartyMerchCode;
- }
- public void setThirdPartyMerchCode(String thirdPartyMerchCode) {
- this.thirdPartyMerchCode = thirdPartyMerchCode;
- }
- public String getThirdPartyMerchName() {
- return thirdPartyMerchName;
- }
- public void setThirdPartyMerchName(String thirdPartyMerchName) {
- this.thirdPartyMerchName = thirdPartyMerchName;
- }
- public String getShopId() {
- return shopId;
- }
- public void setShopId(String shopId) {
- this.shopId = shopId;
- }
- public String getCusPaymentSucceeded() {
- return cusPaymentSucceeded;
- }
- public void setCusPaymentSucceeded(String cusPaymentSucceeded) {
- this.cusPaymentSucceeded = cusPaymentSucceeded;
- }
- public String getCusOrderSucceeded() {
- return cusOrderSucceeded;
- }
- public void setCusOrderSucceeded(String cusOrderSucceeded) {
- this.cusOrderSucceeded = cusOrderSucceeded;
- }
- public String getPaySucceeded() {
- return paySucceeded;
- }
- public void setPaySucceeded(String paySucceeded) {
- this.paySucceeded = paySucceeded;
- }
- public String getBuyerPayerCheck() {
- return buyerPayerCheck;
- }
- public void setBuyerPayerCheck(String buyerPayerCheck) {
- this.buyerPayerCheck = buyerPayerCheck;
- }
- public String getExprAgreementType() {
- return exprAgreementType;
- }
- public void setExprAgreementType(String exprAgreementType) {
- this.exprAgreementType = exprAgreementType;
- }
- public String getTransMode() {
- return transMode;
- }
- public void setTransMode(String transMode) {
- this.transMode = transMode;
- }
- }
|