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"; |
Scott Baker | 464ba8e | 2018-03-02 10:49:23 -0800 | [diff] [blame] | 13 | option owner_class_name="MCordSubscriberService"; |
Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 14 | |
Matteo Scandolo | c48a0fc | 2018-01-31 11:38:11 -0800 | [diff] [blame] | 15 | 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 Williams | 63a17c3 | 2018-09-25 16:21:11 -0700 | [diff] [blame] | 17 | 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] | 18 | optional string created_by = 4 [null = True, blank = True, gui_hidden = True]; |
Matteo Scandolo | 4e200f5 | 2017-10-02 16:28:48 -0700 | [diff] [blame] | 19 | } |