Matteo Scandolo | 67654fa | 2017-06-09 09:33:17 -0700 | [diff] [blame] | 1 | option app_name = "core"; |
| 2 | |
| 3 | message XOSBase { |
| 4 | option skip_init = True; |
| 5 | required string created = 1 [content_type = "date", auto_now_add = True]; |
| 6 | required string updated = 2 [default = "now()", content_type = "date"]; |
| 7 | optional string enacted = 3 [null = True, content_type = "date", blank = True, default = None]; |
| 8 | optional string policed = 4 [null = True, content_type = "date", blank = True, default = None]; |
| 9 | optional string backend_register = 5 [default = "{}", max_length = 1024, null = True]; |
| 10 | required bool backend_need_delete = 6 [default = False]; |
| 11 | required bool backend_need_reap = 7 [default = False]; |
| 12 | required string backend_status = 8 [default = "0 - Provisioning in progress", max_length = 1024]; |
| 13 | required bool deleted = 9 [default = False]; |
| 14 | required bool write_protect = 10 [default = False]; |
| 15 | required bool lazy_blocked = 11 [default = False]; |
| 16 | required bool no_sync = 12 [default = False]; |
| 17 | required bool no_policy = 13 [default = False]; |
| 18 | } |