package com.org.hktshop.entity.order;

import com.org.hktshop.base.BaseModel;
import com.org.hktshop.target01.TableField;
import com.org.hktshop.target01.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("hkt_cart")
public class HktCart extends BaseModel {

    @TableField("user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @TableField("goods_id")
    @ApiModelProperty("商品id")
    private String goodsId;

    @TableField("goods_name")
    @ApiModelProperty("商品名称")
    private String goodsName;

    @TableField("customer_sn")
    @ApiModelProperty("客户料号")
    private String customerSn;

    @TableField("goods_num")
    @ApiModelProperty("购买数量")
    private String goodsNum;

    @TableField("step_sample")
    @ApiModelProperty("样品数量")
    private String stepSample;

    @TableField("selected")
    @ApiModelProperty("购物车选中状态(0未选中|1选中)")
    private Integer selected;

    @TableField("modify_time")
    @ApiModelProperty("更新时间")
    private String modifyTime;

    @TableField("create_time")
    @ApiModelProperty("加入购物车的时间")
    private String createTime;

    @TableField("goods_image")
    @ApiModelProperty("商品图片")
    private String goodsImage;

    @TableField("goods_category_name")
    @ApiModelProperty("商品类别名")
    private String goodsCategoryName;

    @TableField("set_up")
    @ApiModelProperty("最少取定量")
    private String setUp;

    @TableField("is_sample")
    private String isSample;

    @TableField("price")
    @ApiModelProperty("价格")
    private String price;

    @TableField("price_template")
    @ApiModelProperty("价格模板")
    private String priceTemplate;

    private String cPrice;

    private String cTotalPrice;

    @ApiModelProperty("上架标志 1:上架 0:已下架")
    private Integer Online;

    @ApiModelProperty("库存量")
    @TableField("store_count")
    private String storeCount;

    @ApiModelProperty("包裝量")
    @TableField("pack_count")
    private Integer packCount;

    @ApiModelProperty("商品分类id")
    @TableField("category_id")
    private String categoryId;

    @ApiModelProperty("品牌名称")
    @TableField("brand_name")
    private String brandName;

    //是否出发票
    private String invoice;

    private String giveType;
    //1:合晶 2：合科泰
    private Integer sysType;
}