package cn.superdesk.uniorder.dto.vo.operationCenter.accounting;

import io.swagger.models.auth.In;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author : zx
 * @Create : 2023/4/27 17:46
 * Description :
 */
@Data
public class UnifiedAccountingOrderInfoVo implements Serializable {

    private Long id;//id
    private String orderSn;//订单编号
    private String bizPlatformName;
    private String operatorName;//运营商
    private String buyerId;
    private String buyerName;//下单人
    private String buyerMobile;
    private String orderTypeName;//订单类型
    //private Integer bizTypeId;
    private Integer orderBizTypeId;//业务类型
    private String orderBizTypeDesc;

    private String orderCreateTime;
    private String tradingTime;
    private String sendTime;
    private String finishTime;

    private String goodsId;
    private Integer goodsTypeId;
    private String goodsTypeDesc;
    private String goodsName;
    private String goodsSpecification;
    private String goodsSku;
    private String cateLevel1Name;
    private String cateLevel2Name;
    private String cateLevel3Name;
    private String quantity;
    private String unit;

    private BigDecimal sellingUnitPrice;
    private BigDecimal sellingTotalPrice;
    private BigDecimal discountAmount;
    private BigDecimal goodsOrderAmount;
    private BigDecimal settlementAmount;

    //交易状态
    private Integer transactionStatusId;
    private String transactionStatusDesc;
    private String bizOrderStatusName;
    private String platformAftersaleType;
    private String platformPayType;

    private String consigneeAddress;
    private String expressName;
    private String expressTrackingNo;


    private String orgName;
    private String enterpriseName;
    private String refundOriginOrderSn;
    private Integer accountingStatus;//对账状态
    private String accountingStatusDesc;//对账状态
    private String accountingOrderSnOperator;
    private String updateTime;



    private BigDecimal originalUnitPrice;//原单价
    private BigDecimal originalTotalPrice;//原总价
    private BigDecimal negotiatedUnitPrice;//协议单价--商品成本单价
    private BigDecimal negotiatedTotalPrice;//协议总价--商品成本总价
    private BigDecimal costUnitPrice;//成本单价
    private BigDecimal costTotalPrice;//成本总价
    private BigDecimal supplierName;//供应商名称

    /**
     * 统计
     */
    private Integer countRows;
    private BigDecimal goodsOrderAmountCount;
    private BigDecimal settlementAmountCount;

    //----订单流水
    //订单金额
    private BigDecimal orderAmount;
    private Integer isSettlement;
    private String isSettlementDesc;
    private String thirdPartyOrderSn;
    private String integralTypeName;
    private String batch;


    private String operatorId;
    private String orgId;
    private String enterpriseId;
    private String bizPlatformCode;
    private String orderTypeCode;
    private Long platformPayTypeId;
}
