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;
import java.util.List;

@Data
@ApiModel("封测订单主表")
@TableName("hkt_fcdata.fc_order")
public class FcOrder extends BaseModel {

    @ApiModelProperty("订单编号 产品设计规则-为什么不做订单id呢?")
    @TableField("order_sn")
    private String orderSn;

    @ApiModelProperty("联系人")
    @TableField("contacts")
    private String contacts;

    @ApiModelProperty("联系人手机")
    @TableField("contacts_mobile")
    private String contactsMobile;

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

    @ApiModelProperty("用户备注")
    @TableField("user_note")
    private String userNote;

    @ApiModelProperty("管理员备注")
    @TableField("admin_note")
    private String adminNote;

    @ApiModelProperty("订单状态(0订单客户生成|1已联系|2线下处理)")
    @TableField("order_status")
    private Integer orderStatus;

    @ApiModelProperty("下单时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("修改时间")
    @TableField("modify_time")
    private String modifyTime;

    @ApiModelProperty("应用名称")
    @TableField("apply_name")
    private String applyName;

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

    @ApiModelProperty("订单商品信息")
    private List<FcOrderGoods> orderGoodsList;

    @ApiModelProperty("搜索开始时间")
    private String startTime;

    @ApiModelProperty("搜索结束时间")
    private String endTime;

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

}
