|  |  | 
 |  |  | package com.moral.api.entity; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
 |  |  | import com.baomidou.mybatisplus.extension.activerecord.Model; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 公司自定义因子编号 | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "`desc`") | 
 |  |  |     private String desc; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 国标因子编码 | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "`code`") | 
 |  |  |     private String code; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     private String isDelete; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String unit; | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     protected Serializable pkVal() { | 
 |  |  |         return this.id; | 
 |  |  |     } | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String unitKey; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String showUnit; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String showUnitKey; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String alarmLevel; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     private String formula; | 
 |  |  |  | 
 |  |  | } |