package org.ta.pddserver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("order_payment_detail")
public class OrderPaymentDetailEntity {


    @TableId(value = "uid")
    private String uid;

    @TableField(value = "created")
    private String created;

    @TableField(value = "updated")
    private String updated;

    @TableField(value = "state")
    private Integer state;

    @TableField(value = "remarks")
    private String remarks;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "logisticsOrderCode")
    private String logisticsOrderCode;

    /**
     * 订单号（必填）
     */
    @TableField(value = "tradeOrderSn")
    private String tradeOrderSn;

    /**
     * 订单实际支付价格（包括运费，必填，默认人民币，单位：分）
     */
    @TableField(value = "tradeOrderValue")
    private Long tradeOrderValue;

    /**
     * 订单支付金额（订单原价+运费-平台优惠-店铺优惠-多多支付优惠，必填，默认人民币，单位：分）
     */
    @TableField(value = "tradeOrderActualAmount")
    private Long tradeOrderActualAmount;

    /**
     * 货币单位（非必填，CENT：分）
     */
    @TableField(value = "currencyUnit")
    private String currencyUnit;

    /**
     * 币种（非必填，CNY：人民币）
     */
    @TableField(value = "currency")
    private String currency;

}
