package cn.ysk.cashier.vo;

import cn.ysk.cashier.cons.domain.ViewConSku;
import cn.ysk.cashier.dto.TbPlatformDictDto;
import cn.ysk.cashier.dto.shop.TbCouponCategoryDto;
import cn.ysk.cashier.pojo.shop.TbPurchaseNotice;
import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import cn.ysk.cashier.pojo.product.TbProductSku;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author lyf
 */
@Data
public class TbProductVo {


    private Integer id;

    private String shopId;

    private String name;

    private BigDecimal packFee;

    private BigDecimal lowPrice;

    private Integer unitId;

    private String coverImg;

    private Integer categoryId;

    private String categoryName;

    private Integer specId;

    private String shortTitle;

    private String shareImg;

    private JSONArray images;

    private Integer sort;

    private Integer status;

    private Integer isHot;

    private Integer isOnSale;

    private String type;
    private String typeEnum;

    private Integer isDel;

    private Integer isStock;

    private Integer isPauseSale;

    private Integer isVip;

    private Long createdAt;

    private Long updatedAt;

    private Double realSalesNumber;

    private Double stockNumber;

    private Integer groupType;

    private String unitName;

    private List<TbProductSku> skuList;

    private HashMap<String, String> specsInfo;

    private String specInfo;

    private String selectSpec;

    private String specTableHeaders;

    private String skuSnap;

    private BigDecimal maxPrice;

    private Integer isGrounding = 1;

    private Integer isRefundStock = 1;

    private Integer warnLine = 0;

    private String showType;

    private BigDecimal weight;

    private Integer isTempPrice = 0;

    private Integer dayLimit = 0;

    private Integer singleOrderLimit = 0;

    private Integer singlePeopleLimit = 0;

    private String days;

    private String startTime;

    private String endTime;

    private List<ViewConSku> conInfos;

    private TbPurchaseNotice notices=new TbPurchaseNotice();
    private List<TbCouponCategoryDto> groupCategoryId = new ArrayList<>();
    private List<TbPlatformDictDto> tags = new ArrayList<>();
    private List<ProductGroupVo> proGroupVo;
}
