package org.jeecg.modules.eam.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* @Description: mom_eam_fault_type
|
* @Author: jeecg-boot
|
* @Date: 2023-03-07
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mom_eam_fault_type")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value = "mom_eam_fault_type对象", description = "mom_eam_fault_type")
|
public class FaultType extends JeecgEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* 父id
|
*/
|
@Excel(name = "父id", width = 15)
|
@ApiModelProperty(value = "父id")
|
private String parentId;
|
/**
|
* 故障原因编码
|
*/
|
@Excel(name = "故障类型编码", width = 15)
|
@ApiModelProperty(value = "故障类型编码")
|
private String num;
|
/**
|
* 故障原因名称
|
*/
|
@Excel(name = "故障类型名称", width = 15)
|
@ApiModelProperty(value = "故障类型名称")
|
private String name;
|
|
/**
|
* 租户id
|
*/
|
@Excel(name = "租户id", width = 15)
|
@ApiModelProperty(value = "租户id")
|
private String tenantId;
|
/**
|
* 删除状态(0-正常,1-已删除)
|
*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
/**
|
* 备用字段1
|
*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private String faultTypeUda1;
|
/**
|
* 备用字段2
|
*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private String faultTypeUda2;
|
/**
|
* 备用字段3
|
*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private String faultTypeUda3;
|
/**
|
* 备用字段4
|
*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private String faultTypeUda4;
|
/**
|
* 备用字段5
|
*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private String faultTypeUda5;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
@ApiModelProperty(value = "上级故障类型编号")
|
@TableField(exist = false)
|
private String parentNum;
|
|
@ApiModelProperty(value = "上级故障类型名称")
|
@TableField(exist = false)
|
private String parentName;
|
|
@ApiModelProperty(value = "下级故障类型")
|
@TableField(exist = false)
|
private List<FaultType> faultTypeList;
|
}
|