package com.reptileclient.jlifeapp.entity.hm;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author fuxubing
 */
@NoArgsConstructor
@Data
public class HmPaymentOrder {

    /**
     * agreementOrderNo : 2020121012987731
     * buyerAddress : 29号101
     * buyerName : 不需要收货人
     * buyerNick : prettyzj
     * buyerPhone : 13512103795
     * createTime : 2020-12-10 17:20:24
     * deliverPlace : 1
     * deliverPlaceName : 到家
     * deliverWay : 1
     * deliverWayName : 后续服务
     * gmtCreate : 1607592024000
     * gmtModified : 1607592044000
     * hmOrderId : 5000379718232070856
     * itemName : 24次居家保洁
     * itemSkuVoList : [{"buyAmount":1,"costPrice":384000,"itemId":"594061967806","itemName":"24次居家保洁","originCostPrice":384000,"picUrl":"//img.alicdn.com/i1/263685747/O1CN016KXocZ1sKApQtRtoL_!!263685747.jpg","shopCode":"8033","skuCode":"137082001"}]
     * originFee : 384000
     * payFee : 344000
     * payTime : 2020-12-10 17:20:45
     * paymentNo : 2020121022987764
     * serviceContractNo : 202012106996020
     * serviceFulfillType : 1
     * serviceFulfillTypeName : 约到家
     * shopCode : 8033
     * shopId : 191210059
     * status : 3
     * statusDesc : 已支付
     * tbOrderId : 1426730400877877428
     */

    private Long id;

    private String agreementOrderNo;
    private String buyerAddress;
    /**
     * 用户姓名
     */
    private String buyerName;
    /**
     * 用户昵称
     */
    private String buyerNick;
    /**
     * 用户手机
     */
    private String buyerPhone;
    /**
     * 开单时间
     */
    private Date createTime;

    /**
     * 实际操作者
     */
    private String creatorName;
    /**
     * 收货人
     */
    private String customerName;

    /**
     * 收货电话
     */
    private String customerPhone;
    private Integer deliverPlace;
    /**
     * 服务交付地点
     */
    private String deliverPlaceName;
    private Integer deliverWay;
    /**
     * 服务交付方式
     */
    private String deliverWayName;
    private Long gmtCreate;
    private Long gmtModified;

    /**
     * 导购员
     */
    private String guideName;

    private String guidePhone;

    private String guideRemark;
    /**
     * 盒马交易主单号
     */
    private String hmOrderId;
    /**
     * 商品名称
     */
    private String itemName;
    /**
     * 开单金额
     */
    private BigDecimal originFee;
    /**
     * 实付金额
     */
    private BigDecimal payFee;
    /**
     * 支付时间
     */
    private Date payTime;
    /**
     * 付款单号
     */
    private String paymentNo;
    /**
     * 关联服务主单
     */
    private String serviceContractNo;
    private Integer serviceFulfillType;
    /**
     * 服务履约类型
     */
    private String serviceFulfillTypeName;
    /**
     * 经营店编码
     */
    private String shopCode;

    /**
     * 经营店名称
     */
    private String shopName;
    private Integer shopId;
    private Integer status;
    /**
     * 支付单状态
     */
    private String statusDesc;
    /**
     * 淘系交易主单号
     */
    private String tbOrderId;

    private Date updateTime;

    private List<HmPaymentItemSku> itemSkuVoList;

}
