|
@@ -12,45 +12,12 @@ public class UserDetail {
|
|
|
private String private_key; //私钥
|
|
|
private String organization_name; //机构名称
|
|
|
private String person_name; //人员名称
|
|
|
- private List<String> role_name; //角色名称
|
|
|
- private List<String> authority_name; //权限名称
|
|
|
+ private List<String> role_name; //角色名称(多对多)
|
|
|
+ private List<String> authority_name; //权限名称(多对多)
|
|
|
private Double account_balance; //账户余额
|
|
|
private Long create_time; //账户创建时间
|
|
|
private Long update_time; //账户修改时间
|
|
|
- private String account_name;//账户名称
|
|
|
- public String getAccount_name() {
|
|
|
- return account_name;
|
|
|
- }
|
|
|
- public void setAccount_name(String account_name) {
|
|
|
- this.account_name = account_name;
|
|
|
- }
|
|
|
- private Double money;//账户信息表 钱
|
|
|
-
|
|
|
- public Double getMoney() {
|
|
|
- return money;
|
|
|
- }
|
|
|
- public void setMoney(Double money) {
|
|
|
- this.money = money;
|
|
|
- }
|
|
|
- public Double getAccount_balance() {
|
|
|
- return account_balance;
|
|
|
- }
|
|
|
- public void setAccount_balance(Double account_balance) {
|
|
|
- this.account_balance = account_balance;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getCreate_time() {
|
|
|
- return create_time;
|
|
|
- }
|
|
|
- public void setCreate_time(Long create_time) {
|
|
|
- this.create_time = create_time;
|
|
|
- }
|
|
|
- public Long getUpdate_time() {
|
|
|
- return update_time;
|
|
|
- }
|
|
|
- public void setUpdate_time(Long update_time) {
|
|
|
- this.update_time = update_time;
|
|
|
- }
|
|
|
+ private List<AccountInfo> account_info_list;//账户信息(一对多)
|
|
|
public Integer getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -117,12 +84,29 @@ public class UserDetail {
|
|
|
public void setAuthority_name(List<String> authority_name) {
|
|
|
this.authority_name = authority_name;
|
|
|
}
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return "UserDetail [id=" + id + ", user_id=" + user_id + ", account=" + account + ", password=" + password
|
|
|
- + ", random=" + random + ", public_key=" + public_key + ", private_key=" + private_key
|
|
|
- + ", organization_name=" + organization_name + ", person_name=" + person_name + ", role_name="
|
|
|
- + role_name + ", authority_name=" + authority_name + "]";
|
|
|
+ public Double getAccount_balance() {
|
|
|
+ return account_balance;
|
|
|
+ }
|
|
|
+ public void setAccount_balance(Double account_balance) {
|
|
|
+ this.account_balance = account_balance;
|
|
|
+ }
|
|
|
+ public Long getCreate_time() {
|
|
|
+ return create_time;
|
|
|
+ }
|
|
|
+ public void setCreate_time(Long create_time) {
|
|
|
+ this.create_time = create_time;
|
|
|
+ }
|
|
|
+ public Long getUpdate_time() {
|
|
|
+ return update_time;
|
|
|
+ }
|
|
|
+ public void setUpdate_time(Long update_time) {
|
|
|
+ this.update_time = update_time;
|
|
|
+ }
|
|
|
+ public List<AccountInfo> getAccount_info_list() {
|
|
|
+ return account_info_list;
|
|
|
+ }
|
|
|
+ public void setAccount_info_list(List<AccountInfo> account_info_list) {
|
|
|
+ this.account_info_list = account_info_list;
|
|
|
}
|
|
|
|
|
|
}
|