Browse Source

警民信息DTO

master
zhangyuan 5 years ago
parent
commit
a49b91a330
  1. 7
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/constant/GroupConstant.java
  2. 126
      epdc-cloud-property-client/src/main/java/com/elink/esua/epdc/dto/police/PoliceDTO.java

7
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";
/**
* 物业群默认头像
*/

126
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
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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;
}
Loading…
Cancel
Save