DeviceUserVO.java 642 B

12345678910111213141516171819202122232425262728293031
  1. package com.aijiuyi.admin.entity;
  2. import lombok.Data;
  3. import java.time.LocalDateTime;
  4. /**
  5. * 设备绑定用户视图对象
  6. * 用于设备用户管理页面,联表查询 user_device + user_profile 的结果
  7. */
  8. @Data
  9. public class DeviceUserVO {
  10. /** 绑定记录ID(user_device.id) */
  11. private Long bindId;
  12. /** 用户档案ID(user_profile.id) */
  13. private Long userId;
  14. /** 用户姓名 */
  15. private String userName;
  16. /** 用户手机号 */
  17. private String phone;
  18. /** 绑定时间 */
  19. private LocalDateTime bindTime;
  20. /** 是否主用户:1=是,0=否 */
  21. private Integer isPrimary;
  22. }