ZhuDongming
2020-05-13 4428fd50d5e8216d5d7bd63a7fc2e1bb8e239d9d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.moral.entity;
 
import javax.persistence.Transient;
 
import lombok.Data;
 
@Data
public class AccountRole {
 
    private Integer id;
 
    private Integer accountId;
 
    private Integer roleId;
 
    @Transient
    private Account account;
 
    @Transient
    private Role role;
}