Create repository from organization menu, refactors too

This commit is contained in:
M M Arif
2020-03-17 15:32:03 +05:00
parent b5b69f377e
commit 7e8d2c6ec2
23 changed files with 108 additions and 44 deletions

View File

@@ -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;

View File

@@ -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;
}