/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.social.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.time.LocalDateTime; import java.io.Serializable; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.springframework.format.annotation.DateTimeFormat; /** * 实体类 * * @author BladeX * @since 2021-07-16 */ @Data @TableName("sys_socil") @ApiModel(value = "Social对象", description = "Social对象") public class Social implements Serializable { private static final long serialVersionUID = 1L; /** * 姓名 */ @ApiModelProperty(value = "姓名") private String namb; /** * 性别 */ @ApiModelProperty(value = "性别") private String sex; /** * 民族 */ @ApiModelProperty(value = "民族") private String nation; /** * 出生日期 */ @ApiModelProperty(value = "出生日期") @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date birthday; /** * 联系电话 */ @ApiModelProperty(value = "联系电话") private String telephone; /** * 身份证号 */ @ApiModelProperty(value = "身份证号") private String cardid; /** * 户籍所在地址 */ @ApiModelProperty(value = "户籍所在地址") private String residence; /** * 居住地址 */ @ApiModelProperty(value = "居住地址 ") private String address; /** * 户籍性质 */ @ApiModelProperty(value = "户籍性质") private String nature; /** * 个人缴费额 */ @ApiModelProperty(value = "个人缴费额") private float amount ; /** * 参保时间 */ @ApiModelProperty(value = "参保时间") @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date insuredtime; /** * 单位id */ @ApiModelProperty(value = "单位id") private String deptid; @TableId(value = "id", type = IdType.AUTO) private Integer id; }