package com.panzhihua.service_community.model.dos; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; /** * @auther lyq * @create 2021-05-19 14:17:53 * @describe 疫苗报名记录表实体类 */ @Data @TableName("com_mng_vaccines_enroll_record") public class ComMngVaccinesEnrollRecordDO implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 疫苗分类id */ private Long type; /** * 疫苗申请报名用户id */ private Long userId; /** * 疫苗报名用户id */ private Long familyUserId; /** * 报名时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; /** * 修改时间 */ @TableField(fill = FieldFill.UPDATE) private Date updateAt; /** * 报名类型(1.小程序用户 2.小程序家庭成员) */ private Integer familyUserType; /** * 姓名 */ private String name; /** * 年龄 */ private Integer age; /** * 手机号 */ private String phone; /** * 身份证号码 */ private String idCard; /** * 性别(1.男 2.女) */ private Integer sex; /** * 社区id */ private Long communityId; @Override public String toString() { return "ComMngVaccinesEnrollRecordDO{" + "id=" + id + ", type=" + type + ", userId=" + userId + ", familyUserId=" + familyUserId + ", createAt=" + createAt + ", updateAt=" + updateAt + "}"; } /** * 报名类型(1.小程序用户 2.小程序家庭成员) */ public interface familyUserType { int mini = 1; int family = 2; } }