package shop.alien.entity.store.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude
@NoArgsConstructor
@ApiModel(value = "StoreSalesDetailsVo对象", description = "售卖明细")
public class StoreSalesDetailsVo {

    @ApiModelProperty(value = "分页-页数")
    private Integer page;

    @ApiModelProperty(value = "分页-条数")
    private Integer size;

    @ApiModelProperty(value = "券id")
    private String couponCode;

    @ApiModelProperty(value = "图片路径")
    private String imagePath;

    @ApiModelProperty(value = "商家id")
    private Integer storeId;

    @ApiModelProperty(value = "套餐名称")
    private String couponName;

    @ApiModelProperty(value = "套餐名称(查询用)")
    private List<String> couponNameList;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "支付时间")
    private String payTime;

    @ApiModelProperty(value = "套餐金额")
    private String price;

    @ApiModelProperty(value = "用户手机号码")
    private String userPhone;

    @ApiModelProperty(value = "订单状态 0-未核销 1-已核销 2-已过期 3-待退款 4-已退款")
    private String status;

    @ApiModelProperty(value = "1-代金券  2-套餐")
    private Integer type;

    @ApiModelProperty(value = "代金券套餐类型 (查询用)")
    private List<String> typeList;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "支付时间-开始时间")
    private Date payStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "支付时间-结束时间")
    private Date payEndTime;

    @ApiModelProperty(value = "预计收入")
    private String expecteDrevenue;

    @ApiModelProperty(value = "实付款")
    private String finalPrice;
}
