package com.ruoyi.web.modules.order.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * C 端订单列表行
 */
public class OrderAppListRowVO
{
    private Long orderId;

    private String orderNo;

    private String orderStatus;

    private String orderStatusText;

    private Long shopId;

    private String shopName;

    private String shopAvatar;

    private BigDecimal payAmount;

    private BigDecimal goodsAmount;

    private BigDecimal freightAmount;

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

    private int itemCount;

    private List<OrderAppItemSummaryVO> items = new ArrayList<>();

    /** @deprecated 兼容旧客户端，等同 items 首行 */
    private OrderAppItemSummaryVO firstItem;

    private Long payRemainSeconds;

    private String reviewStatus;

    /** 售后状态：null 无售后；1 进行中；2 已完结 */
    private String aftersaleStatus;

    private List<String> actions = new ArrayList<>();

    public Long getOrderId()
    {
        return orderId;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderNo()
    {
        return orderNo;
    }

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderStatus()
    {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatusText()
    {
        return orderStatusText;
    }

    public void setOrderStatusText(String orderStatusText)
    {
        this.orderStatusText = orderStatusText;
    }

    public Long getShopId()
    {
        return shopId;
    }

    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public String getShopName()
    {
        return shopName;
    }

    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopAvatar()
    {
        return shopAvatar;
    }

    public void setShopAvatar(String shopAvatar)
    {
        this.shopAvatar = shopAvatar;
    }

    public BigDecimal getPayAmount()
    {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount)
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getGoodsAmount()
    {
        return goodsAmount;
    }

    public void setGoodsAmount(BigDecimal goodsAmount)
    {
        this.goodsAmount = goodsAmount;
    }

    public BigDecimal getFreightAmount()
    {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount)
    {
        this.freightAmount = freightAmount;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public int getItemCount()
    {
        return itemCount;
    }

    public void setItemCount(int itemCount)
    {
        this.itemCount = itemCount;
    }

    public List<OrderAppItemSummaryVO> getItems()
    {
        return items;
    }

    public void setItems(List<OrderAppItemSummaryVO> items)
    {
        this.items = items;
    }

    public OrderAppItemSummaryVO getFirstItem()
    {
        return firstItem;
    }

    public void setFirstItem(OrderAppItemSummaryVO firstItem)
    {
        this.firstItem = firstItem;
    }

    public Long getPayRemainSeconds()
    {
        return payRemainSeconds;
    }

    public void setPayRemainSeconds(Long payRemainSeconds)
    {
        this.payRemainSeconds = payRemainSeconds;
    }

    public String getReviewStatus()
    {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus)
    {
        this.reviewStatus = reviewStatus;
    }

    public String getAftersaleStatus()
    {
        return aftersaleStatus;
    }

    public void setAftersaleStatus(String aftersaleStatus)
    {
        this.aftersaleStatus = aftersaleStatus;
    }

    public List<String> getActions()
    {
        return actions;
    }

    public void setActions(List<String> actions)
    {
        this.actions = actions;
    }
}
