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.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 tc_project_equipment
 *
 * @author ruoyi
 * @date 2024-06-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TcProjectEquipment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 关联项目Id
     */
    private Long projectId;

    /**
     * 规格
     */
    private String standard;

    /**
     * 设备数量
     */
    @Excel(name = "设备数量")
    private Long equipmentQuantity;

    /**
     * 梯型
     */
    private String elevatorModel;

    /**
     * 设备类型
     */
    @Excel(name = "设备类型", i18nCode = "project.equipmentType", dictType = "intentional_product")
    private String equipmentType;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal amount;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 删除标记（0：启用  1：停用）
     */
    @TableLogic
    private String delFlag;

    // /** 设备移除ids */
    // private List<Long> removeIds;

    //来源
    @TableField(exist = false)
    private String origin;
    //报价编号
    @TableField(exist = false)
    private String quotationNo;
    @TableField(exist = false)
    private String version;

}
