From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java |   48 ++++++++++++++++++++++++++----------------------
 1 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java
index 8fb4ba5..61f7254 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java
@@ -1,12 +1,12 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @auther lyq
@@ -23,7 +23,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.INPUT)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -65,7 +65,7 @@
     private String houseNo;
 
     /**
-     * 房屋状态(1.自住 2.租住 3.其他)
+     * 房屋状态(1.自住 2.租住 3.空置 4.其他)
      */
     private Integer status;
 
@@ -113,6 +113,7 @@
 
     /**
      * 街道id
+     * 
      * @return
      */
     private Long streetId;
@@ -122,24 +123,27 @@
      */
     private String path;
 
+    /**
+     * 楼层数
+     */
+    private Integer floorNum;
+
     @Override
     public String toString() {
-        return "ComMngPopulationHouseDO{" +
-                "id=" + id +
-                ", streetId="+streetId+
-                ", address=" + address +
-                ", code=" + code +
-                ", alley=" + alley +
-                ", houseNum=" + houseNum +
-                ", status=" + status +
-                ", purpose=" + purpose +
-                ", controlStatus=" + controlStatus +
-                ", isEmpty=" + isEmpty +
-                ", constructPurpose=" + constructPurpose +
-                ", constructArea=" + constructArea +
-                ", path="+path+
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                "}";
+        return "ComMngPopulationHouseDO{" + "id=" + id + ", streetId=" + streetId + ", address=" + address + ", code="
+            + code + ", alley=" + alley + ", houseNum=" + houseNum + ", status=" + status + ", purpose=" + purpose
+            + ", controlStatus=" + controlStatus + ", isEmpty=" + isEmpty + ", constructPurpose=" + constructPurpose
+            + ", constructArea=" + constructArea + ", path=" + path + ", createAt=" + createAt + ", updateAt="
+            + updateAt + "}";
+    }
+
+    /**
+     * 房屋状态(1.自住 2.租住 3.空置 4.其他)
+     */
+    public interface status{
+        int zizhu = 1;
+        int zuzhu = 2;
+        int kongzhi = 3;
+        int qita = 4;
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1