package com.org.hktshop.entity.encapsulation;

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

import java.math.BigDecimal;

@Data
@ApiModel("封测代工产品表")
@TableName("hkt_fcdata.fc_product")
public class FcProduct extends BaseModel {

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

    @ApiModelProperty("材料名称")
    @TableField("material_name1")
    private String materialName1;

    @ApiModelProperty("类型名称")
    @TableField("material_name2")
    private String materialName2;

    @ApiModelProperty("封装名(封装规格)")
    @TableField("package_name")
    private String packageName;

    @ApiModelProperty("型号")
    @TableField("model")
    private String model;

    @ApiModelProperty("规格")
    @TableField("specifications")
    private String specifications;

    @ApiModelProperty("单价")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("热门 1 热门")
    @TableField("is_hot")
    private Integer isHot;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private String updateTime;
}
