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.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.domain.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 【请填写功能名称】对象 tp_elevator_model
 *
 * @author ruoyi
 * @date 2024-04-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tp_elevator_model")
public class TpElevatorModel extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

    /**
     * 区域
     */
    @Excel(name = "区域")
    private Long areaId;

    /**
     * 电梯类型（00：乘客电梯 01：家用电梯）
     */
    @Excel(name = "电梯类型", readConverterExp = "0=0：乘客电梯,0=1：家用电梯")
    private String elevatorType;

    /**
     * 电梯型号
     */
    @Excel(name = "电梯型号")
    private String elevatorModel;
    
    @TableField(exist = false)
    private String elevatorModelSame;

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

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

    @TableField(exist = false)
    private String areaName;

    private String targetCountryIds;

    private String targetCountry;

    private String targetUserIds;

    private String targetUser;

    private List<SysUser> targetUsers;

}
