package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
|
import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
|
/**
|
* @auther txb
|
* @create 2021-08-09 17:41:26
|
* @describe 实体类
|
*/
|
|
@Data
|
@TableName("com_sentence_population")
|
@EncryptDecryptClass
|
public class ComSentencePopulationDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.INPUT)
|
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 String spouse;
|
|
/**
|
* 服刑开始时间
|
*/
|
private Date sentenceBegin;
|
|
/**
|
* 服刑结束时间
|
*/
|
private Date sentenceEnd;
|
|
/**
|
* 罪名
|
*/
|
private String charge;
|
|
/**
|
* 备注
|
*/
|
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 "ComSentencePopulationDO{" +
|
"id=" + id +
|
", populationId=" + populationId +
|
", streetId=" + streetId +
|
", communityId=" + communityId +
|
", name=" + name +
|
", cardNo=" + cardNo +
|
", phone=" + phone +
|
", spouse=" + spouse +
|
", sentenceBegin=" + sentenceBegin +
|
", sentenceEnd=" + sentenceEnd +
|
", charge=" + charge +
|
", remark=" + remark +
|
", createAt=" + createAt +
|
", createBy=" + createBy +
|
", updateAt=" + updateAt +
|
", updateBy=" + updateBy +
|
"}";
|
}
|
}
|