| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- 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.AUTO)
- private Long id;
- /** 所属应用用户ID(关联 app_user.id) */
- private Long userId;
- /** 姓名 */
- private String name;
- /** 性别:1=男,2=女 */
- private Integer gender;
- /** 年龄 */
- private Integer age;
- /** 手机号(11位,唯一) */
- private String phone;
- /** 肩宽(cm) */
- private BigDecimal shoulderWidth;
- /** 身长(cm)(坐高) */
- private BigDecimal bodyHeight;
- /** 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;
- }
|