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/ComMngStructOtherBuildDO.java | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructOtherBuildDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructOtherBuildDO.java index f8faf60..aeb4577 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructOtherBuildDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructOtherBuildDO.java @@ -1,10 +1,11 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.TableName; -import lombok.Data; - import java.io.Serializable; import java.util.Date; + +import com.baomidou.mybatisplus.annotation.*; + +import lombok.Data; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -20,6 +21,7 @@ /** * 自增id */ + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -43,17 +45,22 @@ private String address; /** - * 建筑状态 + * 建筑状态 1 建设中 2 使用中 */ - private boolean status; + private Integer state; /** - * 楼层类型id + * 楼层类型 */ - private Long layerTypeId; + private String layerType; /** * 创建时间 */ + @TableField(fill = FieldFill.INSERT) private Date createAt; + /** + * 社区id + */ + private Long communityId; } -- Gitblit v1.7.1