|
1 | 1 | // This file is @generated by prost-build. |
2 | 2 | #[derive(Clone, PartialEq, ::prost::Message)] |
3 | | -/// admin user model |
4 | 3 | pub struct AdminUserModel { |
5 | 4 | #[prost(string, tag = "1")] |
6 | | - /// id |
7 | 5 | pub id: ::prost::alloc::string::String, |
8 | 6 | #[prost(string, tag = "2")] |
9 | | - /// full name |
10 | 7 | pub full_name: ::prost::alloc::string::String, |
11 | 8 | #[prost(string, tag = "3")] |
12 | | - /// email |
13 | 9 | pub email: ::prost::alloc::string::String, |
14 | 10 | #[prost(string, tag = "4")] |
15 | | - /// profile image |
16 | 11 | pub profile_image: ::prost::alloc::string::String, |
17 | 12 | #[prost(bool, tag = "5")] |
18 | | - /// is super admin |
19 | 13 | pub is_super_admin: bool, |
20 | 14 | #[prost(message, optional, tag = "6")] |
21 | | - /// created at |
22 | 15 | pub created_at: ::core::option::Option<::prost_types::Timestamp>, |
23 | 16 | #[prost(message, optional, tag = "7")] |
24 | | - /// updated at |
25 | 17 | pub updated_at: ::core::option::Option<::prost_types::Timestamp>, |
26 | 18 | #[prost(string, tag = "8")] |
27 | | - /// created by |
28 | 19 | pub created_by: ::prost::alloc::string::String, |
29 | 20 | #[prost(string, tag = "9")] |
30 | | - /// updated by |
31 | 21 | pub updated_by: ::prost::alloc::string::String, |
32 | 22 | #[prost(message, repeated, tag = "10")] |
33 | | - /// roles |
34 | 23 | pub roles: ::prost::alloc::vec::Vec<RoleModel>, |
35 | 24 | } |
36 | 25 | #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
37 | | -/// role model |
38 | 26 | pub struct RoleModel { |
39 | 27 | #[prost(string, tag = "1")] |
40 | | - /// id |
41 | 28 | pub id: ::prost::alloc::string::String, |
42 | 29 | #[prost(string, tag = "2")] |
43 | | - /// name |
44 | 30 | pub name: ::prost::alloc::string::String, |
45 | 31 | #[prost(string, tag = "3")] |
46 | | - /// identifier |
47 | 32 | pub identifier: ::prost::alloc::string::String, |
48 | 33 | #[prost(string, repeated, tag = "10")] |
49 | | - /// permissions |
50 | 34 | pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, |
51 | 35 | #[prost(message, optional, tag = "6")] |
52 | | - /// created at |
53 | 36 | pub created_at: ::core::option::Option<::prost_types::Timestamp>, |
54 | 37 | #[prost(message, optional, tag = "7")] |
55 | | - /// updated at |
56 | 38 | pub updated_at: ::core::option::Option<::prost_types::Timestamp>, |
57 | 39 | #[prost(string, tag = "8")] |
58 | | - /// created by |
59 | 40 | pub created_by: ::prost::alloc::string::String, |
60 | 41 | #[prost(string, tag = "9")] |
61 | | - /// updated by |
62 | 42 | pub updated_by: ::prost::alloc::string::String, |
63 | 43 | } |
64 | 44 | #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] |
|
0 commit comments