package com.ruoyi.project.common.dto;

import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.ruoyi.common.importExcel.excel.validation.ExcelVerify;

import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 【请填写功能名称】对象 tp_para_library
 * 
 * @author ruoyi
 * @date 2024-04-23
 */
@Data
public class ParaLibraryExcel extends ExcelVerify
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 参数编码 */
    @NotBlank(message = "参数编码不为空")
    @Excel(name = "参数编码", width = 10, needMerge = true)
    private String paraCode;

    /** 参数名称（包括单位） */
    @Excel(name = "参数名称", width = 10, needMerge = true)
    private String paraName;
    /** 参数名称 */
    @Excel(name = "参数名称(英)", width = 10, needMerge = true)
    private String paraNameUS;

    /** 参数名称 */
    @Excel(name = "参数名称(俄)", width = 10, needMerge = true)
    private String paraNameRU;

    /** 参数名称 */
    @Excel(name = "参数名称(西)", width = 10, needMerge = true)
    private String paraNameES;

    /** 参数大类（00：基本参数 01：井道参数 02：轿厢参数 03：门机参数 04：选配参数 05：装潢参数 06：楼层参数） */
    @Excel(name = "参数大类", width = 10, needMerge = true)
    private String paraCategory;

    /** 输入方式（00：Input 01：InputNumber 02：Select） */
    @Excel(name = "输入方式", width = 10, needMerge = true)
    private String inputType;

    @Excel(name = "电梯类型", width = 10, needMerge = true)
    private String elevatorType;

    /** 参数排序 */
//    @Excel(name = "参数排序", width = 10, needMerge = true)
    private Long sortNumber;

    /** 状态（0：启用  1：停用） */
//    @Excel(name = "状态", width = 10, needMerge = true,replace = "0=：启用,1=：停用")
    private String status;

    @ExcelEntity
    @ExcelCollection(name = "参数选项")
    List<ParaSelectExcel> selectVOS;
}
