Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 1 | option app_label = "mcord"; |
| 2 | option name = "mcord"; |
Matteo Scandolo | c48a0fc | 2018-01-31 11:38:11 -0800 | [diff] [blame] | 3 | option legacy = "True"; |
Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 4 | |
| 5 | message MCordSubscriberService (Service) { |
| 6 | option verbose_name = "MCORD Service"; |
| 7 | option description = "The Mobile Subscriber service in CORD"; |
| 8 | } |
| 9 | |
| 10 | message MCordSubscriberInstance (ServiceInstance) { |
Matteo Scandolo | c48a0fc | 2018-01-31 11:38:11 -0800 | [diff] [blame] | 11 | option verbose_name = "MCORD Subscriber"; |
| 12 | option description = "This model holds the informations of a Mobile Subscriber in CORD"; |
Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 13 | |
Matteo Scandolo | c48a0fc | 2018-01-31 11:38:11 -0800 | [diff] [blame] | 14 | required string imsi_number = 1 [max_length = 30, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 15 | optional string apn_number = 2 [max_length = 30, content_type = "stripped", blank = True, null = True, db_index = False]; |
Matteo Scandolo | 95f585e | 2018-02-14 15:21:29 -0800 | [diff] [blame^] | 16 | optional int32 ue_status = 3 [default = "0", choices = "(('0', 'Detached'), ('1', 'Attached'))", blank = True, null = True, db_index = False]; |
Matteo Scandolo | 8fdf409 | 2018-02-05 13:15:54 -0800 | [diff] [blame] | 17 | optional string created_by = 4 [null = True, blank = True, gui_hidden = True]; |
Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 18 | } |