blob: a522ef73690bcdcc87d0d62ca9cb5042b1f7415b [file] [log] [blame]
Matteo Scandolo4e200f52017-10-02 16:28:48 -07001option app_label = "mcord";
2option name = "mcord";
Matteo Scandoloc48a0fc2018-01-31 11:38:11 -08003option legacy = "True";
Matteo Scandolo4e200f52017-10-02 16:28:48 -07004
5message MCordSubscriberService (Service) {
6 option verbose_name = "MCORD Service";
7 option description = "The Mobile Subscriber service in CORD";
8}
9
10message MCordSubscriberInstance (ServiceInstance) {
Matteo Scandoloc48a0fc2018-01-31 11:38:11 -080011 option verbose_name = "MCORD Subscriber";
12 option description = "This model holds the informations of a Mobile Subscriber in CORD";
Scott Baker464ba8e2018-03-02 10:49:23 -080013 option owner_class_name="MCordSubscriberService";
Matteo Scandolo4e200f52017-10-02 16:28:48 -070014
Matteo Scandoloc48a0fc2018-01-31 11:38:11 -080015 required string imsi_number = 1 [max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False];
16 optional string apn_number = 2 [max_length = 30, content_type = "stripped", blank = True, null = True, db_index = False];
Zack Williams63a17c32018-09-25 16:21:11 -070017 optional int32 ue_status = 3 [default = 0, choices = "((0, 'Detached'), (1, 'Attached'))", blank = True, null = True, db_index = False];
Matteo Scandolo8fdf4092018-02-05 13:15:54 -080018 optional string created_by = 4 [null = True, blank = True, gui_hidden = True];
Matteo Scandolo4e200f52017-10-02 16:28:48 -070019}