UserRole.java 566 B

1234567891011121314151617181920212223
  1. package com.nokia.pojo;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import lombok.Data;
  4. import java.util.Date;
  5. @Data
  6. @TableName("sqmdb_rpt.acl_user_role")
  7. public class UserRole {
  8. @TableId(type = IdType.AUTO)
  9. private Integer id;
  10. private Integer userId;
  11. private Integer roleId;
  12. @TableField(fill = FieldFill.INSERT)
  13. private Date createTime;
  14. @TableField(fill = FieldFill.INSERT_UPDATE)
  15. private Date updateTime;
  16. @TableField(exist = false)
  17. private Role roleEntity;
  18. @TableField(exist = false)
  19. private User userEntity;
  20. }