package cn.superdesk.uniorder.dao.entity.accounting.unified.customer;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.ToString;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table accounting_unified_customer_order
 */
@Data
@ToString
public class AccountingUnifiedCustomerOrder implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Long id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.dz_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Long dzId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.order_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Long orderId;

    /**
     * Database Column Remarks:
     *   订单编码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.order_sn
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String orderSn;

    /**
     * Database Column Remarks:
     *   父订单id
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.parent_order_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer parentOrderId;

    /**
     * Database Column Remarks:
     *   父订单编码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.parent_order_sn
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String parentOrderSn;

    /**
     * Database Column Remarks:
     *   订单详情
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.detail_url
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String detailUrl;

    /**
     * Database Column Remarks:
     *   运费
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.dispatchprice
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private BigDecimal dispatchprice;

    /**
     * Database Column Remarks:
     *   配送方式
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.dispatchname
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String dispatchname;

    /**
     * Database Column Remarks:
     *   订单合计
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.price
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private BigDecimal price;

    /**
     * Database Column Remarks:
     *   项目id
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.organization_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Long organizationId;

    /**
     * Database Column Remarks:
     *   企业id
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.enterprise_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Long enterpriseId;

    /**
     * Database Column Remarks:
     *   下单人ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.realname_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer realnameId;

    /**
     * Database Column Remarks:
     *   订单审核人ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.examine_id
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer examineId;

    /**
     * Database Column Remarks:
     *   收件人
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.address_realname
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String addressRealname;

    /**
     * Database Column Remarks:
     *   收件人电话
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.address_mobile
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String addressMobile;

    /**
     * Database Column Remarks:
     *   收货地址
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.address_address
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String addressAddress;

    /**
     * Database Column Remarks:
     *   发票抬头
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.companyName
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String companyname;

    /**
     * Database Column Remarks:
     *   纳税识别号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.taxpayersIDcode
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String taxpayersidcode;

    /**
     * Database Column Remarks:
     *   发票类型(1: 增值税普票, 2:增值税专票
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.invoice_type
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer invoiceType;

    /**
     * Database Column Remarks:
     *   购方银行帐号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.invoice_account
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String invoiceAccount;

    /**
     * Database Column Remarks:
     *   购方银行
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.invoice_bank
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String invoiceBank;

    /**
     * Database Column Remarks:
     *   商品编码2
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.tax_code
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String taxCode;

    /**
     * Database Column Remarks:
     *   商品编码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.fiscal_code
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String fiscalCode;

    /**
     * Database Column Remarks:
     *   同步时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.sync_time
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Date syncTime;

    /**
     * Database Column Remarks:
     *   下单时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.create_time
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Date createTime;

    /**
     * Database Column Remarks:
     *   同步时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.pay_time
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Date payTime;

    /**
     * Database Column Remarks:
     *   发货时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.send_time
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Date sendTime;

    /**
     * Database Column Remarks:
     *   完成时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.finish_time
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Date finishTime;

    /**
     * Database Column Remarks:
     *    -1:已关闭,0:待付款,1:待发货,2:待收货,3:已完成
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.status
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer status;

    /**
     * Database Column Remarks:
     *   商家名称
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.merch_name
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String merchName;

    /**
     * Database Column Remarks:
     *   订单类型(企业内购 1\代客下单 2)
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.order_type
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String orderType;

    /**
     * Database Column Remarks:
     *   支付方式(0为未支付 1为余额支付 2在线支付 3 企业月结 11 后台付款 21 微信支付 22 支付宝支付 23 银联支付
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.pay_type
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private Integer payType;

    /**
     * Database Column Remarks:
     *   搜索字段1 用于京东编码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.search_field1
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String searchField1;

    /**
     * Database Column Remarks:
     *   搜索字段2
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.search_field2
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String searchField2;

    /**
     * Database Column Remarks:
     *   搜索字段3
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.search_field3
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String searchField3;

    /**
     * Database Column Remarks:
     *   其他字段1 占坑用
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.other_field1
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String otherField1;

    /**
     * Database Column Remarks:
     *   其他字段2
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.other_field2
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String otherField2;

    /**
     * Database Column Remarks:
     *   其他字段3
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.other_field3
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String otherField3;

    /**
     * Database Column Remarks:
     *   备注
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column accounting_unified_customer_order.remark
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table accounting_unified_customer_order
     *
     * @mbg.generated Tue Jun 23 15:32:49 CST 2020
     */
    private static final long serialVersionUID = 1L;
}