| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package com.aijiuyi.admin.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import lombok.Data;
- import java.math.BigDecimal;
- import java.time.LocalDateTime;
- /**
- * 用户穴位坐标实体
- * 对应数据库 user_acupoint 表
- * 根据用户体型数据(指宽/肩宽/身长)与穴位定位参数计算生成
- */
- @Data
- @TableName("user_acupoint")
- public class UserAcupoint {
- /** 主键ID */
- @TableId(type = IdType.AUTO)
- private Long id;
- /** 子用户ID(关联 user_profile.id) */
- private Long userId;
- /** 穴位ID(关联 acupoint.id) */
- private Long acupointId;
- /** 穴位名称(冗余存储,加速查询) */
- private String acupointName;
- /**
- * 侧别:center=中心,left=左侧,right=右侧
- * 双侧穴位(acupoint.side=4)会生成两条记录(left+right)
- */
- private String acupointSide;
- /** 相对大椎穴纵向偏移(寸) */
- private BigDecimal cunValue;
- /** 指寸类型:1寸/1.5寸/3寸 */
- private String cunType;
- /** 计算后的X坐标(mm,相对大椎穴中心,向右为正) */
- private BigDecimal coordinateX;
- /** 计算后的Y坐标(mm,相对大椎穴中心,向下为正) */
- private BigDecimal coordinateY;
- /** 计算后的Z坐标(mm,体表=0) */
- private BigDecimal coordinateZ;
- /** 置信度:high=高/medium=中/low=低 */
- private String confidence;
- /** 首次生成时间(自动填充) */
- @TableField(fill = FieldFill.INSERT)
- private LocalDateTime createTime;
- /** 最后更新时间(自动填充) */
- @TableField(fill = FieldFill.INSERT_UPDATE)
- private LocalDateTime updateTime;
- }
|