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_order_goods")
public class FcOrderGoods extends BaseModel {

    @ApiModelProperty("订单编号")
    @TableField("order_sn")
    private String orderSn;

    @ApiModelProperty("产品id")
    @TableField("product_id")
    private String productId;

    @ApiModelProperty("材料")
    @TableField("material")
    private String material;

    @ApiModelProperty("材料类型")
    @TableField("material_type")
    private String materialType;

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

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

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

    @ApiModelProperty("购买数量")
    @TableField("num")
    private Integer num;

    @ApiModelProperty("商品总价")
    @TableField("amount")
    private BigDecimal amount;

    @ApiModelProperty("添加时间")
    @TableField("create_time")
    private String createTime;

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