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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.annotate.AnnotateEnumType;
import com.storlead.framework.annotate.Dict;
import com.storlead.framework.annotate.OrgAutoMateAnnotate;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

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

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

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

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

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

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

    @ApiModelProperty(value = "关联商机标题")
    private String businessTitle;

    @ApiModelProperty(value = "关联订单标题")
    private String orderFormTitle;

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

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

    @ApiModelProperty(value = "报价单类型：1国内、2海外")
    @Dict(dictCode = "quotation_type",valueField = "quotationTypeName")
    private Integer quotationType;

    @ApiModelProperty(value = "报价单类型：国内/海外")
    private String quotationTypeName;

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

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

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

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

    @ApiModelProperty(value = "对接人员id")
//    @OrgAutoMateAnnotate(valueField = "abutmentUserName",annotateType = AnnotateEnumType.USER)
    private Long abutmentUserId;

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

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "归属人姓名")
    private String ownerByName;

    @ApiModelProperty(value = "对接人员姓名")
    private String abutmentUserName;

}
