package cn.superdesk.uniorder.dao.entity.thirdpart.jd;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description:  
 * @Author: linjinyu 
 * @CreateDate: 2022-07-04 18:23:18 
 * @UpdateUser: linjinyu 
 * @UpdateDate: 2022-07-04 18:23:18 
 * @UpdateRemark: 修改内容 
 * @Version: 1.0 
 */ 
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
@ToString
public class AccountingUnifiedSupplierOrderJdCheckUpReportXGoods implements Serializable {
    /**
     * 系统信息-自增Id
     */
    @ApiModelProperty(value = "系统信息-自增Id")
    private Long id;

    /**
     * 供应商结算-对账单-创建维度:0-订单;1-商品;2-流水;
     */
    @ApiModelProperty(value = "供应商结算-对账单-创建维度:0-订单;1-商品;2-流水;")
    private Integer dimCreateBy;

    /**
     * 批次Id
     */
    @ApiModelProperty(value = "批次Id")
    private String batchId;

    @ApiModelProperty(value = "")
    private Long accountingUnifiedSupplierOrderJdId;

    /**
     * 对账(结算)单-Id
     */
    @ApiModelProperty(value = "对账(结算)单-Id")
    private Long accountingOrderId;

    /**
     * 对账(结算)单-Sn
     */
    @ApiModelProperty(value = "对账(结算)单-Sn")
    private String accountingOrderSn;

    @ApiModelProperty(value = "")
    private String doggodOrderSnAsWhole;

    @ApiModelProperty(value = "")
    private Integer doggodOrderAccountingStateSupplier;

    @ApiModelProperty(value = "")
    private Integer doggodGoodsAccountingStateSupplier;

    @ApiModelProperty(value = "")
    private Integer processResult;

    /**
     * 统一订单-Id
     */
    @ApiModelProperty(value = "统一订单-Id")
    private Long unifiedOrderId;

    /**
     * 第三方商城的订单Sn
     */
    @ApiModelProperty(value = "第三方商城的订单Sn")
    private String orderSn;

    /**
     * 统一订单商品-Id
     */
    @ApiModelProperty(value = "统一订单商品-Id")
    private Long unifiedOrderGoodsId;

    /**
     * 第三方商城的商品表Id
     */
    @ApiModelProperty(value = "第三方商城的商品表Id")
    private Long goodsId;

    /**
     * 订单商品-数量
     */
    @ApiModelProperty(value = "订单商品-数量")
    private Integer goodsQuantity;

    /**
     * 订单商品-成本价
     */
    @ApiModelProperty(value = "订单商品-成本价")
    private BigDecimal goodsCostPrice;

    /**
     * 订单商品-成本金额=成本价x数量
     */
    @ApiModelProperty(value = "订单商品-成本金额=成本价x数量")
    private BigDecimal goodsCostAmount;

    /**
     * 第三方商城的订单的商品快照Id
     */
    @ApiModelProperty(value = "第三方商城的订单的商品快照Id")
    private Long outSnapshotOrderGoodsId;

    /**
     * 统一订单流水Id,目前维度是没有用的
     */
    @ApiModelProperty(value = "统一订单流水Id,目前维度是没有用的")
    private Long unifiedOrderCreditId;

    /**
     * 系统信息-创建时间
     */
    @ApiModelProperty(value = "系统信息-创建时间")
    private Date createTime;

    /**
     * 系统信息-创建人Id
     */
    @ApiModelProperty(value = "系统信息-创建人Id")
    private Long createUserId;

    private static final long serialVersionUID = 1L;
}