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/ComMngCarDO.java | 46 ++++++++++++++++++++++++++-------------------- 1 files changed, 26 insertions(+), 20 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngCarDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngCarDO.java index 03f284b..ebeb1bc 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngCarDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngCarDO.java @@ -1,10 +1,12 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.util.Date; + +import com.baomidou.mybatisplus.annotation.*; +import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; + +import lombok.Data; /** * @description: 车辆管理 @@ -15,47 +17,51 @@ @TableName(value = "com_mng_car") public class ComMngCarDO implements Serializable { - /**主键*/ - @TableId(type = IdType.AUTO) + /** 主键 */ + @TableId(type = IdType.ASSIGN_ID) private Long id; - /**社区ID*/ + /** 社区ID */ private Long communityId; - /**小区名称*/ + /** 小区名称 */ private String areaName; - /**小区ID*/ + /** 小区ID */ private Long areaId; - /**车主姓名*/ + /** 车主姓名 */ private String userName; - /**车主用户ID*/ + /** 身份证号 */ + @EncryptDecryptField + private String cardNo; + + /** 车主用户ID */ private Long userId; - /**车主手机号码*/ + /** 详细住址 */ + private String address; + + /** 车主手机号码 */ private String mobile; - /**车牌号*/ + /** 车牌号 */ private String plateNum; - /**车辆品牌*/ + /** 车辆品牌 */ private String brand; - /**车身颜色*/ + /** 车身颜色 */ private String color; - /**车辆型号*/ - private String model; - - /**创建时间*/ + /** 创建时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; - /**创建人*/ + /** 创建人 */ private Long createBy; - /**数据来源:1-小程序 2-后台录入*/ + /** 数据来源:1-小程序 2-后台录入 */ private Integer source; } -- Gitblit v1.7.1