package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
|
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
|
|
import lombok.Data;
|
|
/**
|
* @auther txb
|
* @create 2021-08-10 15:57:18
|
* @describe 吸毒人员表实体类
|
*/
|
|
@Data
|
@TableName("com_drug_population")
|
@EncryptDecryptClass
|
public class ComDrugPopulationDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 人口id
|
*/
|
private Long populationId;
|
|
/**
|
* 街道id
|
*/
|
private Long streetId;
|
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
|
/**
|
* 名字
|
*/
|
private String name;
|
|
/**
|
* 身份证号码
|
*/
|
@EncryptDecryptField
|
private String cardNo;
|
|
/**
|
* 联系电话
|
*/
|
private String phone;
|
|
/**
|
* 初次发现日期
|
*/
|
private Date firstDate;
|
|
/**
|
* 管控情况
|
*/
|
private String controlSituation;
|
|
/**
|
* 管控人姓名
|
*/
|
private String controlPerson;
|
|
/**
|
* 管控人联系方式
|
*/
|
private String controlPersonPhone;
|
|
/**
|
* 帮扶情况
|
*/
|
private String helpSituation;
|
|
/**
|
* 帮扶人姓名
|
*/
|
private String helpPerson;
|
|
/**
|
* 帮扶人联系方式
|
*/
|
private String helpPersonPhone;
|
|
/**
|
* 吸毒原因
|
*/
|
private String drugReason;
|
|
/**
|
* 吸毒后果
|
*/
|
private String drugResult;
|
|
/**
|
* 有无犯罪史
|
*/
|
private String haveCrime;
|
|
/**
|
* 违法犯罪情况
|
*/
|
private String crimeSutiation;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 创建用户
|
*/
|
private Long createBy;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Date updateAt;
|
|
/**
|
* 修改用户
|
*/
|
private Long updateBy;
|
|
@Override
|
public String toString() {
|
return "ComDrugPopulationDO{" + "id=" + id + ", populationId=" + populationId + ", streetId=" + streetId
|
+ ", communityId=" + communityId + ", name=" + name + ", cardNo=" + cardNo + ", phone=" + phone
|
+ ", firstDate=" + firstDate + ", controlSituation=" + controlSituation + ", controlPerson=" + controlPerson
|
+ ", controlPersonPhone=" + controlPersonPhone + ", helpSituation=" + helpSituation + ", helpPerson="
|
+ helpPerson + ", helpPersonPhone=" + helpPersonPhone + ", drugReason=" + drugReason + ", drugResult="
|
+ drugResult + ", haveCrime=" + haveCrime + ", crimeSutiation=" + crimeSutiation + ", remark=" + remark
|
+ ", createAt=" + createAt + ", createBy=" + createBy + ", updateAt=" + updateAt + ", updateBy=" + updateBy
|
+ "}";
|
}
|
}
|