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:
49
lib/ccnetobj.vala
Normal file
49
lib/ccnetobj.vala
Normal 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
|
Reference in New Issue
Block a user