package com.ycl.entity.caseHandler; 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 com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.time.LocalDateTime; /** *

* 当事人信息 *

* * @author wl * @since 2022-09-24 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("ums_party_info") public class PartyInfo implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) @ApiModelProperty(value = "id") private Long id; /** * 姓名 */ @TableField("name") @ApiModelProperty(value = "姓名") private String name; /** * 手机号 */ @TableField("phone_code") @ApiModelProperty(value = "手机号") private String phoneCode; /** * 证件类型 */ @TableField("certificate_type") @ApiModelProperty(value = "证件类型") private Integer certificateType; /** * 证件号 */ @TableField("certificate_code") @ApiModelProperty(value = "证件号") private String certificateCode; /** * 文化程度 */ @TableField("education_degree") @ApiModelProperty(value = "文化程度") private Integer educationDegree; /** * 职业 */ @TableField("career") @ApiModelProperty(value = "职业") private String career; /** * 工作单位及职务 */ @TableField("work") @ApiModelProperty(value = "工作单位及职务") private String work; /** * 民族 */ @TableField("nation") @ApiModelProperty(value = "民族") private Integer nation; /** * 籍贯 */ @TableField("native_place") @ApiModelProperty(value = "籍贯") private String nativePlace; /** * 现住地址 */ @TableField("live_address") @ApiModelProperty(value = "现住地址") private String liveAddress; /** * 户籍所在地 */ @TableField("register_address") @ApiModelProperty(value = "户籍所在地") private String registerAddress; /** * 创建人 */ @TableField("create_user") @ApiModelProperty(value = "创建人") private Integer createUser; /** * 创建时间 */ @TableField("create_time") @ApiModelProperty(value = "创建时间") @JsonFormat(timezone = "GMT", pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; /** * 证件类型文本 */ @TableField(value = "certificate_type_text",exist = false) @ApiModelProperty(value = "证件类型文本") private String certificateTypeText; /** * 文化程度文本 */ @TableField(value = "education_degree_text",exist = false) @ApiModelProperty(value = "文化程度文本") private String educationDegreeText; /** * 民族文本 */ @ApiModelProperty(value = "民族文本") @TableField(value = "nation_text",exist = false) private String nationText; }