| | |
| | | import java.io.Serializable;
|
| | | import java.util.Date;
|
| | |
|
| | | import com.gitblit.Constants.AccessRestrictionType;
|
| | |
|
| | | public class RepositoryModel implements Serializable {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | | public String name;
|
| | | public String description;
|
| | | public String owner;
|
| | | public String group;
|
| | | public Date lastChange;
|
| | | public boolean hasCommits;
|
| | | public boolean showRemoteBranches;
|
| | | public boolean useTickets;
|
| | | public boolean useDocs;
|
| | | public boolean useRestrictedAccess;
|
| | | public AccessRestrictionType accessRestriction;
|
| | |
|
| | | public RepositoryModel() {
|
| | | |
| | |
|
| | | }
|
| | | |
| | |
|
| | | public RepositoryModel(String name, String description, String owner, Date lastchange) {
|
| | | this.name = name;
|
| | | this.description = description;
|
| | | this.owner = owner;
|
| | | this.lastChange = lastchange;
|
| | | }
|
| | | } |
| | | } |