package com.storlead.sales.pojo.entity.sku;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报价单表
 * </p>
 *
 * @author YPZ
 * @since 2024-08-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("quotation")
@ApiModel(value="QuotationEntity对象", description="报价单表")
public class QuotationEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编码")
    @TableField(value = "data_code")
    private String dataCode;

    @ApiModelProperty(value = "关联客户id")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty(value = "关联商机id")
    @TableField("business_id")
    private Long businessId;

    @ApiModelProperty(value = "关联订单id")
    @TableField("order_form_id")
    private Long orderFormId;

    @ApiModelProperty(value = "描述")
    @TableField("`describe`")
    private String describe;

    @ApiModelProperty(value = "报价单语言 1: 中文 2: 英文")
    @TableField("`language_type`")
    private Integer languageType;

    @ApiModelProperty(value = "报价单类型：1国内、2海外")
    @TableField("`quotation_type`")
    private Integer quotationType;

    @ApiModelProperty(value = "总金额（人民币）")
    @TableField("total_order_amt")
    private BigDecimal totalOrderAmt;

    @ApiModelProperty(value = "产品金额（人民币）")
    @TableField("product_total_order_amt")
    private BigDecimal productTotalOrderAmt;

    @ApiModelProperty(value = "其他费用（人民币）")
    @TableField("other_amt")
    private BigDecimal otherAmt;

    @ApiModelProperty(value = "总金额（美元）")
    @TableField("total_earnest_amt")
    private BigDecimal totalEarnestAmt;

    @ApiModelProperty(value = "汇率")
    @TableField("rate")
    private BigDecimal rate;

    @ApiModelProperty(value = "对接人员id")
    @TableField("abutment_user_id")
    private Long abutmentUserId;

    @ApiModelProperty(value = "总数量")
    @TableField("total_number")
    private Integer totalNumber;


}
