#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Zone.java
@@ -62,13 +62,13 @@
     * 租户
     */
    @ApiModelProperty(value= "租户")
    private Integer tenantId;
    private Long tenantId;
    /**
     * 添加人员
     */
    @ApiModelProperty(value= "添加人员")
    private Integer createBy;
    private Long createBy;
    /**
     * 添加时间
@@ -80,7 +80,7 @@
     * 修改人员
     */
    @ApiModelProperty(value= "修改人员")
    private Integer updateBy;
    private Long updateBy;
    /**
     * 修改时间
@@ -96,7 +96,7 @@
    public Zone() {}
    public Zone(String uuid,String name,Double area,Integer capacity,Integer status,Integer deleted,Integer tenantId,Integer createBy,Date createTime,Integer updateBy,Date updateTime,String memo) {
    public Zone(String uuid,String name,Double area,Integer capacity,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.uuid = uuid;
        this.name = name;
        this.area = area;
@@ -138,17 +138,17 @@
        }
    }
    public String getDeleted$(){
        if (null == this.deleted){ return null; }
        switch (this.deleted){
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return "是";
                return true;
            case 0:
                return "否";
                return false;
            default:
                return String.valueOf(this.deleted);
                return null;
        }
    }
}