package com.ruoyi.project.business.domain.vo.quotation;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.project.business.domain.flow.Flow;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
public class QuotationVO {

    private Long id;

    @Excel(name = "代理商编号", width = 30, i18nCode = "quotation.no",sort = 1)
    private String quotationNo;
    @Excel(name = "版本号", width = 30, i18nCode = "quotation.version",sort = 2)
    private Long version;

    private Long currencyId;
    @Excel(name = "币种", width = 30, i18nCode = "quotation.currencyName" ,sort = 8)
    private String currencyName;

    private BigDecimal finalPrice;
    @Excel(name = "价格", width = 30, i18nCode = "quotation.quotation" ,sort = 9)
    private BigDecimal finalCurrencyPrice;
    @Excel(name = "附加费用", width = 30, i18nCode = "quotation.additionalCost" ,sort = 10)
    private BigDecimal additionalFees;
    @Excel(name = "梯型", width = 30, i18nCode = "quotation.elevatorMode" ,sort = 7)
    private String elevatorModel;

    private BigDecimal exchangeRate;
    private String quotationStatus;
    @Excel(name = "报价状态", width = 30, i18nCode = "quotation.quotationStatusName" ,sort = 3)
    private String quotationStatusName;
    @Excel(name = "项目名称", width = 30, i18nCode = "project.name" ,sort = 4)
    private String projectName;

    private String projectNo;

    private String type;

    private String segmentedMarket;
    private String countryId;
    @Excel(name = "国家", width = 30, i18nCode = "project.countryName" ,sort = 5)
    private String countryName;
    @Excel(name = "城市", width = 30, i18nCode = "project.city" ,sort = 6)
    private String city;
    @Excel(name = "报价者", width = 30, i18nCode = "quotation.quoter" ,sort = 12)
    private String nickName;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date submitTime;
    @Excel(name = "提交时间", width = 30, i18nCode = "quotation.submitTime" ,sort = 13)
    private String submitTimeStr;
    private List<QuotationVO> children;

    private Flow flow;

    // 报价是否可以选中（复制版本）
    private boolean selectable;

    private BigDecimal price;

    @Excel(name = "总价", width = 30, i18nCode = "quotation.finalPrice" ,sort = 11)
    private BigDecimal totalPrice;

    private String quotationVersion;
}
