package cn.superdesk.uniorder.dao.entity.base;

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

/**
 *
 *
 * table unified_order_return_credit
 */
@Data
@ToString
public class UnifiedOrderReturnCredit implements Serializable {
    /**
     *
     *
     * column unified_order_return_credit.id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long id;

    /**
     *
     *
     * column unified_order_return_credit.order_sn
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private String orderSn;

    /**
     *
     *
     * column unified_order_return_credit.order_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long orderId;

    /**
     *
     *
     * column unified_order_return_credit.goods_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long goodsId;

    /**
     * Database Column Remarks:
     *   外部系统订单快照积分流水Id
     *
     *
     * column unified_order_return_credit.out_snapshot_order_credit_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long outSnapshotOrderCreditId;

    /**
     * Database Column Remarks:
     *   积分类型id(如果是微信支付,显示0)
     *
     *
     * column unified_order_return_credit.credit_type
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer creditType;

    /**
     * Database Column Remarks:
     *   积分名称
     *
     *
     * column unified_order_return_credit.credit_name
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private String creditName;

    /**
     * Database Column Remarks:
     *   积分变动类型(1充值 2消费 3退款)
     *
     *
     * column unified_order_return_credit.daily_account_type
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer dailyAccountType;

    /**
     * Database Column Remarks:
     *   积分批次 (如果是微信支付,显示 wechat)
     *
     *
     * column unified_order_return_credit.batchs
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private String batchs;

    /**
     * Database Column Remarks:
     *   消耗 积分额度 积分支付金额
     *
     *
     * column unified_order_return_credit.balance
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private BigDecimal balance;

    /**
     * Database Column Remarks:
     *   所属企业id(买家)
     *
     *
     * column unified_order_return_credit.enterprise_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long enterpriseId;

    /**
     * Database Column Remarks:
     *   会员(买家)id
     *
     *
     * column unified_order_return_credit.member_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long memberId;

    /**
     * Database Column Remarks:
     *   0未支付  1已支付
     *
     *
     * column unified_order_return_credit.pay_status
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer payStatus;

    /**
     * Database Column Remarks:
     *   1积分支付  2微信支付
     *
     *
     * column unified_order_return_credit.pay_type
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer payType;

    /**
     * Database Column Remarks:
     *   客户对账:1-已对账;2-未对账
     *
     *
     * column unified_order_return_credit.accounting_state_customer
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer accountingStateCustomer;

    /**
     * Database Column Remarks:
     *   供应商对账:1-已对账;2-未对账
     *
     *
     * column unified_order_return_credit.accounting_state_supplier
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer accountingStateSupplier;

    /**
     * Database Column Remarks:
     *   发票申请状态 是否已申请 0-未申请;1-已申请;
     *
     *
     * column unified_order_return_credit.invoice_apply_status
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer invoiceApplyStatus;

    /**
     * Database Column Remarks:
     *   开票状态 是否已登记开票 0-未登记;1-已登记;
     *
     *
     * column unified_order_return_credit.invoice_make_status
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer invoiceMakeStatus;

    /**
     * Database Column Remarks:
     *   回款状态 是否回款 0-未回款;1-已回款;
     *
     *
     * column unified_order_return_credit.back_status
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Integer backStatus;

    /**
     *
     *
     * column unified_order_return_credit.create_time
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Date createTime;

    /**
     *
     *
     * column unified_order_return_credit.create_user_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long createUserId;

    /**
     *
     *
     * column unified_order_return_credit.update_time
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Date updateTime;

    /**
     *
     *
     * column unified_order_return_credit.update_user_id
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private Long updateUserId;

    /**
     *
     * table unified_order_return_credit
     *
     * Fri Oct 16 16:53:56 CST 2020
     */
    private static final long serialVersionUID = 1L;
}
