package com.ruoyi.project.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 【请填写功能名称】对象 tq_price_detail
 *
 * @author ruoyi
 * @date 2024-05-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TqPriceDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 规格ID
     */
    @Excel(name = "规格ID")
    private Long specificationId;
    @TableField(exist = false)
    private List<Long> specificationIds;

    /**
     * 加价编码
     */
    @Excel(name = "加价编码")
    private String markupKey;

    /**
     * 加价名称
     */
    @Excel(name = "加价名称")
    private String markupName;

    /**
     * 关联参数信息
     */
    @Excel(name = "关联参数信息")
    private String relatedParaInfo;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal quantity;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 单价(采购)
     */
    @Excel(name = "单价(采购)(机械)")
    private BigDecimal buyerPriceMachine;

    @Excel(name = "单价(采购)（电气）")
    private BigDecimal buyerPrice;

    /**
     * 上浮(%)(财务)
     */
    @Excel(name = "上浮(%)(财务)(机械)")
    private BigDecimal floatPercentMachine;

    @Excel(name = "上浮(%)(财务)（电气）")
    private BigDecimal floatPercent;

    /**
     * 单价(财务)
     */
    @Excel(name = "单价(财务)（机械）")
    private BigDecimal treasurerPriceMachine;

    @Excel(name = "单价(财务)（电气）")
    private BigDecimal treasurerPrice;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 合计金额（单价*数量）
     */
    @Excel(name = "合计金额", readConverterExp = "单=价*数量")
    private BigDecimal total;

    /**
     * 系统评审结果（00：标准 01：非标准）
     */
    @Excel(name = "系统评审结果", readConverterExp = "0=0：标准,0=1：非标准")
    private String systemCheckResult;

    /**
     * 非标理由
     */
    @Excel(name = "非标理由")
    private String nonStandardReason;

    /**
     * 删除标记（0：未删除  1：已删除）
     */
    private String delFlag;

    @Excel(name = "是否报价（机械）（0：否  1：是）")
    private String quotationFlagMachine;

    @Excel(name = "是否报价（电气）（0：否  1：是）")
    private String quotationFlagElectric;

    /**
     * 解决方案
     */
    @Excel(name = "技术意见（机械）")
    private String solutionMachine;

    @Excel(name = "技术意见（电气）")
    private String solution;

    @TableField(exist = false)
    private String exportParaCodes;

    @TableField(exist = false)
    private String defaultRate;

}
