package com.xiaoniu.system.pointsgoods.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @Author haoxuyang
 * @Date 2024/10/29 18:40
 */
@Data
@Schema(description = "积分商品详情参数VO")
public class PointsGoodsDetailsVO {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "商品id")
    private String goodsId;

    @Schema(description = "商品类型1")
    private String goodsType1;

    @Schema(description = "商品类型2")
    private String goodsType2;

    @Schema(description = "销售开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date salesBeginTime;

    @Schema(description = "销售结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date salesEndTime;

    @Schema(description = "状态(1-已上架 2-已下架)")
    private Integer status;

    @Schema(description = "积分商品规格列表参数")
    private List<PointsGoodsSpecificationsVO> specificationsList;

}
