@Column(name="OBJECT_ID") @NotAudited public UUID getObjectId() { if(objectId == null) { objectId = UUID.randomUUID(); } return objectId; }
/** * 获取拥有角色 * * @return {@link Role} */ @NotAudited @ManyToMany @JoinTable(name = "TB_ACCOUNT_USER_ROLE", joinColumns = { @JoinColumn(name = "USER_ID") }, inverseJoinColumns = { @JoinColumn(name = "ROLE_ID") }) public List<Role> getRoleList() { return roleList; }