| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- package com.aijiuyi.admin.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import lombok.Data;
- import java.math.BigDecimal;
- import java.time.LocalDateTime;
- /**
- * 用户档案实体
- * 对应数据库 user_profile 表
- * 作为后台用户列表的数据源,存储用户体型数据和基本信息
- */
- @Data
- @TableName("user_profile")
- public class UserProfile {
- /** 主键ID */
- @TableId(type = IdType.ASSIGN_ID)
- private Long id;
- /** 关联APP登录账号ID(app_user.id),NULL表示该用户不可登录APP */
- private Long appUserId;
- /** 姓名 */
- private String name;
- /** 性别:1=男,2=女 */
- private Integer gender;
- /** 年龄 */
- private Integer age;
- /** 手机号(11位,唯一) */
- private String phone;
- /** 用户分类ID(关联 app_user_category.id) */
- private Long userCategoryId;
- /** 用户分类名称(非数据库字段,查询时从 app_user_category 关联填充) */
- @TableField(exist = false)
- private String userCategoryName;
- /** 省级行政区划编码(GB/T 2260) */
- private String provinceCode;
- /** 市级行政区划编码 */
- private String cityCode;
- /** 区/县级行政区划编码 */
- private String districtCode;
- /** 详细地址 */
- private String address;
- /** 肩宽(cm) */
- private BigDecimal shoulderWidth;
- /** 身长(cm)(坐高) */
- private BigDecimal bodyHeight;
- /** 脊柱长度C7-S4(cm,30-60) */
- private BigDecimal spineLength;
- /** 身高(cm) */
- private BigDecimal height;
- /** 体重(kg) */
- private BigDecimal weight;
- /** 1寸指宽(cm,选填,提高穴位精度) */
- @TableField("finger_width_1")
- private BigDecimal fingerWidth1;
- /** 1.5寸指宽(cm,选填) */
- @TableField("finger_width_15")
- private BigDecimal fingerWidth15;
- /** 3寸指宽(cm,选填) */
- @TableField("finger_width_3")
- private BigDecimal fingerWidth3;
- /** 用户穴位表ID */
- private Long acupointTableId;
- /** 逻辑删除:0=未删除,1=已删除 */
- @TableLogic
- private Integer deleted;
- /** 创建时间(自动填充) */
- @TableField(fill = FieldFill.INSERT)
- private LocalDateTime createTime;
- /** 更新时间(自动填充) */
- @TableField(fill = FieldFill.INSERT_UPDATE)
- private LocalDateTime updateTime;
- /** 绑定设备编号(逗号分隔,非数据库字段,查询时JOIN填充) */
- @TableField(exist = false)
- private String deviceCodes;
- }
|