1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-15 22:59:43 +00:00

Add and del ccnet compilation dependency in seafile (#347)

* Add and del ccnet compilation dependency in seafile

* Del import ccnet

* Del extra ccnet compilation dependencies

* Del support WIN32
This commit is contained in:
feiniks
2020-05-09 16:31:47 +08:00
committed by GitHub
parent 708bfacc86
commit d50359c908
52 changed files with 404 additions and 94 deletions

49
lib/ccnetobj.vala Normal file
View File

@@ -0,0 +1,49 @@
namespace Ccnet {
public class EmailUser : Object {
public int id { get; set; }
public string email { get; set; }
public bool is_staff { get; set; }
public bool is_active { get; set; }
public int64 ctime { get; set; }
public string source { get; set; }
public string role { get; set; }
public string password { get; set; }
public string reference_id { get; set; }
}
public class Group : Object {
public int id { get; set; }
public string group_name { get; set; }
public string creator_name { get; set; }
public int64 timestamp { get; set; }
public string source { get; set; }
public int parent_group_id { get; set; }
}
public class GroupUser : Object {
public int group_id { get; set; }
public string user_name { get; set; }
public int is_staff { get; set; }
}
public class Organization : Object {
public int org_id { get; set; }
public string email { get; set; }
public int is_staff { get; set; }
public string org_name { get; set; }
public string url_prefix { get; set; }
public string creator { get; set; }
public int64 ctime { get; set; }
}
} // namespace