rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/BasStation.java
@@ -118,6 +118,10 @@ @ApiModelProperty(value= "备注") private String memo; @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") @TableLogic private Integer deleted; /** * 创建人 */ @@ -143,6 +147,9 @@ @ApiModelProperty(value= "更新时间") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date updateTime; @ApiModelProperty(value= "状态") private Integer status; /** * 所属机构 @@ -236,4 +243,17 @@ } return null; } public Boolean getStatusBool(){ if (null == this.status){ return null; } switch (this.status){ case 1: return true; case 0: return false; default: return null; } } }