|  |  | 
 |  |  | package com.zy.asrs.entity; | 
 |  |  |  | 
 |  |  | import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  | import com.baomidou.mybatisplus.enums.IdType; | 
 |  |  |  | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | 
 |  |  |     @ApiModelProperty(value= "app类型 0: pda  1: lcd  ") | 
 |  |  |     private Integer type; | 
 |  |  |  | 
 |  |  |     public AppVersion() {} | 
 |  |  |     public AppVersion() { | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public AppVersion(String version,String path,Integer latest,Integer type) { | 
 |  |  |         this.version = version; | 
 |  |  | 
 |  |  | //    ); | 
 |  |  |  | 
 |  |  |     public String getLatest$(){ | 
 |  |  |         if (null == this.latest){ return null; } | 
 |  |  |         if (null == this.latest) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.latest){ | 
 |  |  |             case 0: | 
 |  |  |                 return "否"; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getType$(){ | 
 |  |  |         if (null == this.type){ return null; } | 
 |  |  |         if (null == this.type) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.type){ | 
 |  |  |             case 0: | 
 |  |  |                 return "pda"; |