Create repository from organization menu, refactors too
This commit is contained in:
@@ -6,6 +6,7 @@ package org.mian.gitnex.models;
|
||||
|
||||
public class OrgOwner {
|
||||
|
||||
private int id;
|
||||
private String username;
|
||||
|
||||
public OrgOwner(String username) {
|
||||
@@ -16,6 +17,10 @@ public class OrgOwner {
|
||||
return username;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return username;
|
||||
|
||||
@@ -6,6 +6,7 @@ package org.mian.gitnex.models;
|
||||
|
||||
public class UserOrganizations {
|
||||
|
||||
private int id;
|
||||
private String username;
|
||||
private String avatar_url;
|
||||
private String description;
|
||||
@@ -20,6 +21,10 @@ public class UserOrganizations {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user