From a49b91a3305167ab6266c948834128279cd6d5b6 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Thu, 21 May 2020 16:49:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E6=B0=91=E4=BF=A1=E6=81=AFDTO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../esua/epdc/dto/constant/GroupConstant.java | 7 +- .../elink/esua/epdc/dto/police/PoliceDTO.java | 126 ++++++++++++++++++ 2 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/police/PoliceDTO.java diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/constant/GroupConstant.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/constant/GroupConstant.java index 9e888d0..b24d08d 100644 --- a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/constant/GroupConstant.java +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/constant/GroupConstant.java @@ -9,10 +9,15 @@ package com.elink.esua.epdc.dto.constant; public interface GroupConstant { /** - * 物业群所属类别 + * 物业群所属类别,物业 */ String PROPERTY_GROUP_CATEGORY = "2"; + /** + * 物业群所属类别,警民 + */ + String POLICE_GROUP_CATEGORY = "3"; + /** * 物业群默认头像 */ diff --git a/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/police/PoliceDTO.java b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/police/PoliceDTO.java new file mode 100644 index 0000000..8239105 --- /dev/null +++ b/epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/police/PoliceDTO.java @@ -0,0 +1,126 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto.police; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 民警表 + * + * @author zhangyuan qu@elink-cn.com + * @since v1.0.0 2020-05-21 + */ +@Data +public class PoliceDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 民警名称 + */ + private String policeName; + + /** + * 民警照片地址 + */ + private String policeAvatar; + + /** + * 民警联系方式 + */ + private String policeTel; + + /** + * 警号 + */ + private String policeNo; + + /** + * 民警所在机构名称 + */ + private String deptName; + + /** + * 民警所在机构id(此处存储社区id) + */ + private Long deptId; + + /** + * 是否展示 0否 ,1是 + */ + private String displayFlag; + + /** + * 删除标记 0:未删除,1:已删除 + */ + private String delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + + /** + * 所有部门ID + */ + private String allDeptIds; + + /** + * 所有部门名称 + */ + private String allDeptNames; + + /** + * 父所有部门 + */ + private String parentDeptIds; + + /** + * 父所有部门 + */ + private String parentDeptNames; + +} \ No newline at end of file