blob: 0bb6aa06a49613e22ed7549f68f4476e472a439b [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];
Matteo Scandolob1c89f92019-01-24 13:06:58 -080017 optional string 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}