package com.fs.live.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.hisStore.vo.FsStoreOrderItemVO;
import com.fs.live.domain.LiveOrderItem;
import lombok.Data;

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

/**
 * 订单对象 fs_store_order
 *
 * @author fs
 * @date 2022-03-15
 */
@Data
public class FsMyLiveOrderListQueryVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long id;
    private Long orderId;
    private Long liveId;
    private Long afterSalesId;

    /** 订单号 */
    private String orderCode;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal payPrice;

    private Integer status;

    private Integer isPackage;
    private Integer totalNum;

    private String  packageJson;

    private String  itemJson;

    private String deliveryId;

    private Integer isAfterSales;
    private Integer discountMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private List<LiveOrderItem> items;


}
