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_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 169 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java new file mode 100644 index 0000000..006f624 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java @@ -0,0 +1,169 @@ +package com.panzhihua.service_dangjian.model.dos; + +import java.io.Serializable; +import java.util.Date; + +import com.baomidou.mybatisplus.annotation.FieldStrategy; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import lombok.Data; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: 党员 + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-11-30 10:48 + **/ +@Data +@TableName("com_pb_member") +public class ComPbMemberDO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 党员在表中的id + */ + @TableId(type = IdType.ASSIGN_ID) + private Long id; + + /** + * 所属党组织id + */ + private Long orgId; + + /** + * 身份证号 + */ + private String idCard; + + /** + * 姓名 + */ + private String name; + + /** + * 头像图片路径 + */ + private String photoPath; + + /** + * 入党时间 + */ + private Date joinTime; + + /** + * 转正时间 + */ + @TableField(updateStrategy = FieldStrategy.IGNORED) + private Date employmentTime; + + /** + * 党员审查结果 + */ + private Integer auditResult; + + /** + * 创建时间 + */ + private Date createAt; + + /** + * 修改时间 + */ + private Date updateAt; + /** + * 社区id + */ + private Long communityId; + + /** + * 用户id + */ + private Long userId; + + /** + * 驳回原因 + */ + private String refuseReason; + + /** + * 手机号 + */ + private String phone; + + /** + * 党员类型(1.预备党员 2.正式党员) + */ + private Integer type; + + /** + * 职位 + */ + private String position; + + /** + * 报道单位id + */ + private Long checkUnitId; + + /** + * 职能 + */ + @TableField("`function`") + private String function; + + /** + * 特长类别(1.体育类 2.舞蹈类 3.音乐类 4.美术类 5.其他) + */ + private Integer specialtyCategory; + + /** + * 特长描述 + */ + private String specialtyName; + + /** + * 职位2 + */ + private String positionTwo; + + /** + * 党组织名字 + */ + private String orgName; + + private Long helpCommunityId; + + private Long villageId; + + private String natureName; + + private Integer natureId; + + private String otherRemark; + + private String helpCommunityName; + + private String communityName; + + + /** + * 党员审查结果 0待审核 1 审核通过 3审核失败 + */ + public interface AuditResult { + int DSH = 0; + int SHTG = 1; + int SHBH = 3; + } + + /** + * 党员类型(1.预备党员 2.正式党员) + */ + public interface Type { + int YBDY = 1; + int ZSDY = 2; + } +} -- Gitblit v1.7.1