@aldiokta/protocgen 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth.pb.go +998 -0
  3. package/prisca/v1/core/auth/auth_grpc.pb.go +427 -0
  4. package/prisca/v1/core/company/company.pb.go +965 -0
  5. package/prisca/v1/core/company/company_grpc.pb.go +273 -0
  6. package/prisca/v1/core/department_material/department_material.pb.go +776 -0
  7. package/prisca/v1/core/department_material/department_material_grpc.pb.go +236 -0
  8. package/prisca/v1/core/job_grade/job_grade.pb.go +887 -0
  9. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +273 -0
  10. package/prisca/v1/core/job_position/job_position.pb.go +1196 -0
  11. package/prisca/v1/core/job_position/job_position_grpc.pb.go +273 -0
  12. package/prisca/v1/core/job_title/job_title.pb.go +986 -0
  13. package/prisca/v1/core/job_title/job_title_grpc.pb.go +273 -0
  14. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +913 -0
  15. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +273 -0
  16. package/prisca/v1/core/location/location.pb.go +1397 -0
  17. package/prisca/v1/core/location/location_grpc.pb.go +387 -0
  18. package/prisca/v1/core/material/material.pb.go +1366 -0
  19. package/prisca/v1/core/material/material_grpc.pb.go +273 -0
  20. package/prisca/v1/core/material_group/material_group.pb.go +911 -0
  21. package/prisca/v1/core/material_group/material_group_grpc.pb.go +273 -0
  22. package/prisca/v1/core/material_type/material_type.pb.go +827 -0
  23. package/prisca/v1/core/material_type/material_type_grpc.pb.go +239 -0
  24. package/prisca/v1/core/number_range/number_range.pb.go +916 -0
  25. package/prisca/v1/core/number_range/number_range_grpc.pb.go +273 -0
  26. package/prisca/v1/core/organization/organization.pb.go +1039 -0
  27. package/prisca/v1/core/organization/organization_grpc.pb.go +273 -0
  28. package/prisca/v1/core/organization_level/organization_level.pb.go +853 -0
  29. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +274 -0
  30. package/prisca/v1/core/procurement/procurement.pb.go +622 -0
  31. package/prisca/v1/core/procurement/procurement_grpc.pb.go +275 -0
  32. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +1550 -0
  33. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +141 -0
  35. package/prisca/v1/core/role/role.pb.go +797 -0
  36. package/prisca/v1/core/role/role_grpc.pb.go +273 -0
  37. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +3217 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +656 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +973 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +278 -0
  41. package/prisca/v1/core/users/users.pb.go +281 -0
  42. package/prisca/v1/core/users_role/users_role.pb.go +813 -0
  43. package/prisca/v1/core/users_role/users_role_grpc.pb.go +273 -0
  44. package/prisca/v1/core/work_location/work_location.pb.go +995 -0
  45. package/prisca/v1/core/work_location/work_location_grpc.pb.go +273 -0
  46. package/prisca/v1/core/work_locations/work_locations.pb.go +184 -0
  47. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +76 -0
  48. package/prisca/v1/core/workflow/workflow.pb.go +2057 -0
  49. package/prisca/v1/core/workflow/workflow_grpc.pb.go +273 -0
  50. package/prisca/v1/global/meta/meta.pb.go +446 -0
  51. package/prisca/v1/core/auth/auth.proto +0 -100
  52. package/prisca/v1/core/company/company.proto +0 -86
  53. package/prisca/v1/core/department_material/department_material.proto +0 -69
  54. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  55. package/prisca/v1/core/job_position/job_position.proto +0 -107
  56. package/prisca/v1/core/job_title/job_title.proto +0 -88
  57. package/prisca/v1/core/location/location.proto +0 -124
  58. package/prisca/v1/core/material/material.proto +0 -127
  59. package/prisca/v1/core/material_group/material_group.proto +0 -79
  60. package/prisca/v1/core/material_type/material_type.proto +0 -77
  61. package/prisca/v1/core/number_range/number_range.proto +0 -81
  62. package/prisca/v1/core/organization/organization.proto +0 -93
  63. package/prisca/v1/core/organization_level/organization_level.proto +0 -73
  64. package/prisca/v1/core/procurement/procurement.proto +0 -54
  65. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +0 -131
  66. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  67. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -278
  68. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  69. package/prisca/v1/core/users/users.proto +0 -22
  70. package/prisca/v1/core/users_role/users_role.proto +0 -72
  71. package/prisca/v1/core/work_location/work_location.proto +0 -88
  72. package/prisca/v1/core/workflow/workflow.proto +0 -191
  73. package/prisca/v1/global/meta/meta.proto +0 -57
@@ -0,0 +1,776 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.36.1
4
+ // protoc (unknown)
5
+ // source: prisca/v1/core/department_material/department_material.proto
6
+
7
+ package department_material
8
+
9
+ import (
10
+ meta "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/global/meta"
11
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
+ reflect "reflect"
14
+ sync "sync"
15
+ )
16
+
17
+ const (
18
+ // Verify that this generated code is sufficiently up-to-date.
19
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
21
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
+ )
23
+
24
+ type DepartmentMaterial struct {
25
+ state protoimpl.MessageState `protogen:"open.v1"`
26
+ Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
27
+ DepartmentName string `protobuf:"bytes,2,opt,name=department_name,json=departmentName,proto3" json:"department_name,omitempty"`
28
+ TranscationConfigId int64 `protobuf:"varint,3,opt,name=transcation_config_id,json=transcationConfigId,proto3" json:"transcation_config_id,omitempty"`
29
+ ReferencesId string `protobuf:"bytes,4,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
30
+ CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ISO 8601
31
+ UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Nullable
32
+ unknownFields protoimpl.UnknownFields
33
+ sizeCache protoimpl.SizeCache
34
+ }
35
+
36
+ func (x *DepartmentMaterial) Reset() {
37
+ *x = DepartmentMaterial{}
38
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[0]
39
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
+ ms.StoreMessageInfo(mi)
41
+ }
42
+
43
+ func (x *DepartmentMaterial) String() string {
44
+ return protoimpl.X.MessageStringOf(x)
45
+ }
46
+
47
+ func (*DepartmentMaterial) ProtoMessage() {}
48
+
49
+ func (x *DepartmentMaterial) ProtoReflect() protoreflect.Message {
50
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[0]
51
+ if x != nil {
52
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53
+ if ms.LoadMessageInfo() == nil {
54
+ ms.StoreMessageInfo(mi)
55
+ }
56
+ return ms
57
+ }
58
+ return mi.MessageOf(x)
59
+ }
60
+
61
+ // Deprecated: Use DepartmentMaterial.ProtoReflect.Descriptor instead.
62
+ func (*DepartmentMaterial) Descriptor() ([]byte, []int) {
63
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{0}
64
+ }
65
+
66
+ func (x *DepartmentMaterial) GetId() int64 {
67
+ if x != nil {
68
+ return x.Id
69
+ }
70
+ return 0
71
+ }
72
+
73
+ func (x *DepartmentMaterial) GetDepartmentName() string {
74
+ if x != nil {
75
+ return x.DepartmentName
76
+ }
77
+ return ""
78
+ }
79
+
80
+ func (x *DepartmentMaterial) GetTranscationConfigId() int64 {
81
+ if x != nil {
82
+ return x.TranscationConfigId
83
+ }
84
+ return 0
85
+ }
86
+
87
+ func (x *DepartmentMaterial) GetReferencesId() string {
88
+ if x != nil {
89
+ return x.ReferencesId
90
+ }
91
+ return ""
92
+ }
93
+
94
+ func (x *DepartmentMaterial) GetCreatedAt() string {
95
+ if x != nil {
96
+ return x.CreatedAt
97
+ }
98
+ return ""
99
+ }
100
+
101
+ func (x *DepartmentMaterial) GetUpdatedAt() string {
102
+ if x != nil {
103
+ return x.UpdatedAt
104
+ }
105
+ return ""
106
+ }
107
+
108
+ type BaseDepartmentMaterial struct {
109
+ state protoimpl.MessageState `protogen:"open.v1"`
110
+ DepartmentName string `protobuf:"bytes,1,opt,name=department_name,json=departmentName,proto3" json:"department_name,omitempty"`
111
+ TranscationConfigId int32 `protobuf:"varint,2,opt,name=transcation_config_id,json=transcationConfigId,proto3" json:"transcation_config_id,omitempty"`
112
+ unknownFields protoimpl.UnknownFields
113
+ sizeCache protoimpl.SizeCache
114
+ }
115
+
116
+ func (x *BaseDepartmentMaterial) Reset() {
117
+ *x = BaseDepartmentMaterial{}
118
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[1]
119
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120
+ ms.StoreMessageInfo(mi)
121
+ }
122
+
123
+ func (x *BaseDepartmentMaterial) String() string {
124
+ return protoimpl.X.MessageStringOf(x)
125
+ }
126
+
127
+ func (*BaseDepartmentMaterial) ProtoMessage() {}
128
+
129
+ func (x *BaseDepartmentMaterial) ProtoReflect() protoreflect.Message {
130
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[1]
131
+ if x != nil {
132
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133
+ if ms.LoadMessageInfo() == nil {
134
+ ms.StoreMessageInfo(mi)
135
+ }
136
+ return ms
137
+ }
138
+ return mi.MessageOf(x)
139
+ }
140
+
141
+ // Deprecated: Use BaseDepartmentMaterial.ProtoReflect.Descriptor instead.
142
+ func (*BaseDepartmentMaterial) Descriptor() ([]byte, []int) {
143
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{1}
144
+ }
145
+
146
+ func (x *BaseDepartmentMaterial) GetDepartmentName() string {
147
+ if x != nil {
148
+ return x.DepartmentName
149
+ }
150
+ return ""
151
+ }
152
+
153
+ func (x *BaseDepartmentMaterial) GetTranscationConfigId() int32 {
154
+ if x != nil {
155
+ return x.TranscationConfigId
156
+ }
157
+ return 0
158
+ }
159
+
160
+ type CreateDepartmentMaterialRequest struct {
161
+ state protoimpl.MessageState `protogen:"open.v1"`
162
+ BaseDepartmentMaterial *BaseDepartmentMaterial `protobuf:"bytes,1,opt,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
163
+ unknownFields protoimpl.UnknownFields
164
+ sizeCache protoimpl.SizeCache
165
+ }
166
+
167
+ func (x *CreateDepartmentMaterialRequest) Reset() {
168
+ *x = CreateDepartmentMaterialRequest{}
169
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[2]
170
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171
+ ms.StoreMessageInfo(mi)
172
+ }
173
+
174
+ func (x *CreateDepartmentMaterialRequest) String() string {
175
+ return protoimpl.X.MessageStringOf(x)
176
+ }
177
+
178
+ func (*CreateDepartmentMaterialRequest) ProtoMessage() {}
179
+
180
+ func (x *CreateDepartmentMaterialRequest) ProtoReflect() protoreflect.Message {
181
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[2]
182
+ if x != nil {
183
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184
+ if ms.LoadMessageInfo() == nil {
185
+ ms.StoreMessageInfo(mi)
186
+ }
187
+ return ms
188
+ }
189
+ return mi.MessageOf(x)
190
+ }
191
+
192
+ // Deprecated: Use CreateDepartmentMaterialRequest.ProtoReflect.Descriptor instead.
193
+ func (*CreateDepartmentMaterialRequest) Descriptor() ([]byte, []int) {
194
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{2}
195
+ }
196
+
197
+ func (x *CreateDepartmentMaterialRequest) GetBaseDepartmentMaterial() *BaseDepartmentMaterial {
198
+ if x != nil {
199
+ return x.BaseDepartmentMaterial
200
+ }
201
+ return nil
202
+ }
203
+
204
+ type UpdateDepartmentMaterialRequest struct {
205
+ state protoimpl.MessageState `protogen:"open.v1"`
206
+ Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
207
+ BaseDepartmentMaterial *BaseDepartmentMaterial `protobuf:"bytes,2,opt,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
208
+ unknownFields protoimpl.UnknownFields
209
+ sizeCache protoimpl.SizeCache
210
+ }
211
+
212
+ func (x *UpdateDepartmentMaterialRequest) Reset() {
213
+ *x = UpdateDepartmentMaterialRequest{}
214
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[3]
215
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216
+ ms.StoreMessageInfo(mi)
217
+ }
218
+
219
+ func (x *UpdateDepartmentMaterialRequest) String() string {
220
+ return protoimpl.X.MessageStringOf(x)
221
+ }
222
+
223
+ func (*UpdateDepartmentMaterialRequest) ProtoMessage() {}
224
+
225
+ func (x *UpdateDepartmentMaterialRequest) ProtoReflect() protoreflect.Message {
226
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[3]
227
+ if x != nil {
228
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229
+ if ms.LoadMessageInfo() == nil {
230
+ ms.StoreMessageInfo(mi)
231
+ }
232
+ return ms
233
+ }
234
+ return mi.MessageOf(x)
235
+ }
236
+
237
+ // Deprecated: Use UpdateDepartmentMaterialRequest.ProtoReflect.Descriptor instead.
238
+ func (*UpdateDepartmentMaterialRequest) Descriptor() ([]byte, []int) {
239
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{3}
240
+ }
241
+
242
+ func (x *UpdateDepartmentMaterialRequest) GetId() int64 {
243
+ if x != nil {
244
+ return x.Id
245
+ }
246
+ return 0
247
+ }
248
+
249
+ func (x *UpdateDepartmentMaterialRequest) GetBaseDepartmentMaterial() *BaseDepartmentMaterial {
250
+ if x != nil {
251
+ return x.BaseDepartmentMaterial
252
+ }
253
+ return nil
254
+ }
255
+
256
+ type GetDepartmentMaterialByIdRequest struct {
257
+ state protoimpl.MessageState `protogen:"open.v1"`
258
+ Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
259
+ unknownFields protoimpl.UnknownFields
260
+ sizeCache protoimpl.SizeCache
261
+ }
262
+
263
+ func (x *GetDepartmentMaterialByIdRequest) Reset() {
264
+ *x = GetDepartmentMaterialByIdRequest{}
265
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[4]
266
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267
+ ms.StoreMessageInfo(mi)
268
+ }
269
+
270
+ func (x *GetDepartmentMaterialByIdRequest) String() string {
271
+ return protoimpl.X.MessageStringOf(x)
272
+ }
273
+
274
+ func (*GetDepartmentMaterialByIdRequest) ProtoMessage() {}
275
+
276
+ func (x *GetDepartmentMaterialByIdRequest) ProtoReflect() protoreflect.Message {
277
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[4]
278
+ if x != nil {
279
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280
+ if ms.LoadMessageInfo() == nil {
281
+ ms.StoreMessageInfo(mi)
282
+ }
283
+ return ms
284
+ }
285
+ return mi.MessageOf(x)
286
+ }
287
+
288
+ // Deprecated: Use GetDepartmentMaterialByIdRequest.ProtoReflect.Descriptor instead.
289
+ func (*GetDepartmentMaterialByIdRequest) Descriptor() ([]byte, []int) {
290
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{4}
291
+ }
292
+
293
+ func (x *GetDepartmentMaterialByIdRequest) GetId() int64 {
294
+ if x != nil {
295
+ return x.Id
296
+ }
297
+ return 0
298
+ }
299
+
300
+ type GetListDepartmentMaterialRequest struct {
301
+ state protoimpl.MessageState `protogen:"open.v1"`
302
+ Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
303
+ Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
304
+ unknownFields protoimpl.UnknownFields
305
+ sizeCache protoimpl.SizeCache
306
+ }
307
+
308
+ func (x *GetListDepartmentMaterialRequest) Reset() {
309
+ *x = GetListDepartmentMaterialRequest{}
310
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[5]
311
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312
+ ms.StoreMessageInfo(mi)
313
+ }
314
+
315
+ func (x *GetListDepartmentMaterialRequest) String() string {
316
+ return protoimpl.X.MessageStringOf(x)
317
+ }
318
+
319
+ func (*GetListDepartmentMaterialRequest) ProtoMessage() {}
320
+
321
+ func (x *GetListDepartmentMaterialRequest) ProtoReflect() protoreflect.Message {
322
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[5]
323
+ if x != nil {
324
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325
+ if ms.LoadMessageInfo() == nil {
326
+ ms.StoreMessageInfo(mi)
327
+ }
328
+ return ms
329
+ }
330
+ return mi.MessageOf(x)
331
+ }
332
+
333
+ // Deprecated: Use GetListDepartmentMaterialRequest.ProtoReflect.Descriptor instead.
334
+ func (*GetListDepartmentMaterialRequest) Descriptor() ([]byte, []int) {
335
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{5}
336
+ }
337
+
338
+ func (x *GetListDepartmentMaterialRequest) GetPagination() *meta.PaginationRequest {
339
+ if x != nil {
340
+ return x.Pagination
341
+ }
342
+ return nil
343
+ }
344
+
345
+ func (x *GetListDepartmentMaterialRequest) GetQuery() *meta.FilterRequest {
346
+ if x != nil {
347
+ return x.Query
348
+ }
349
+ return nil
350
+ }
351
+
352
+ type CreateDepartmentMaterialResponse struct {
353
+ state protoimpl.MessageState `protogen:"open.v1"`
354
+ BaseDepartmentMaterial *DepartmentMaterial `protobuf:"bytes,1,opt,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
355
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
356
+ unknownFields protoimpl.UnknownFields
357
+ sizeCache protoimpl.SizeCache
358
+ }
359
+
360
+ func (x *CreateDepartmentMaterialResponse) Reset() {
361
+ *x = CreateDepartmentMaterialResponse{}
362
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[6]
363
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364
+ ms.StoreMessageInfo(mi)
365
+ }
366
+
367
+ func (x *CreateDepartmentMaterialResponse) String() string {
368
+ return protoimpl.X.MessageStringOf(x)
369
+ }
370
+
371
+ func (*CreateDepartmentMaterialResponse) ProtoMessage() {}
372
+
373
+ func (x *CreateDepartmentMaterialResponse) ProtoReflect() protoreflect.Message {
374
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[6]
375
+ if x != nil {
376
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377
+ if ms.LoadMessageInfo() == nil {
378
+ ms.StoreMessageInfo(mi)
379
+ }
380
+ return ms
381
+ }
382
+ return mi.MessageOf(x)
383
+ }
384
+
385
+ // Deprecated: Use CreateDepartmentMaterialResponse.ProtoReflect.Descriptor instead.
386
+ func (*CreateDepartmentMaterialResponse) Descriptor() ([]byte, []int) {
387
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{6}
388
+ }
389
+
390
+ func (x *CreateDepartmentMaterialResponse) GetBaseDepartmentMaterial() *DepartmentMaterial {
391
+ if x != nil {
392
+ return x.BaseDepartmentMaterial
393
+ }
394
+ return nil
395
+ }
396
+
397
+ func (x *CreateDepartmentMaterialResponse) GetMeta() *meta.Meta {
398
+ if x != nil {
399
+ return x.Meta
400
+ }
401
+ return nil
402
+ }
403
+
404
+ type UpdateDepartmentMaterialResponse struct {
405
+ state protoimpl.MessageState `protogen:"open.v1"`
406
+ BaseDepartmentMaterial *DepartmentMaterial `protobuf:"bytes,1,opt,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
407
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
408
+ unknownFields protoimpl.UnknownFields
409
+ sizeCache protoimpl.SizeCache
410
+ }
411
+
412
+ func (x *UpdateDepartmentMaterialResponse) Reset() {
413
+ *x = UpdateDepartmentMaterialResponse{}
414
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[7]
415
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416
+ ms.StoreMessageInfo(mi)
417
+ }
418
+
419
+ func (x *UpdateDepartmentMaterialResponse) String() string {
420
+ return protoimpl.X.MessageStringOf(x)
421
+ }
422
+
423
+ func (*UpdateDepartmentMaterialResponse) ProtoMessage() {}
424
+
425
+ func (x *UpdateDepartmentMaterialResponse) ProtoReflect() protoreflect.Message {
426
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[7]
427
+ if x != nil {
428
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429
+ if ms.LoadMessageInfo() == nil {
430
+ ms.StoreMessageInfo(mi)
431
+ }
432
+ return ms
433
+ }
434
+ return mi.MessageOf(x)
435
+ }
436
+
437
+ // Deprecated: Use UpdateDepartmentMaterialResponse.ProtoReflect.Descriptor instead.
438
+ func (*UpdateDepartmentMaterialResponse) Descriptor() ([]byte, []int) {
439
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{7}
440
+ }
441
+
442
+ func (x *UpdateDepartmentMaterialResponse) GetBaseDepartmentMaterial() *DepartmentMaterial {
443
+ if x != nil {
444
+ return x.BaseDepartmentMaterial
445
+ }
446
+ return nil
447
+ }
448
+
449
+ func (x *UpdateDepartmentMaterialResponse) GetMeta() *meta.Meta {
450
+ if x != nil {
451
+ return x.Meta
452
+ }
453
+ return nil
454
+ }
455
+
456
+ type GetDepartmentMaterialByIdResponse struct {
457
+ state protoimpl.MessageState `protogen:"open.v1"`
458
+ BaseDepartmentMaterial *DepartmentMaterial `protobuf:"bytes,1,opt,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
459
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
460
+ unknownFields protoimpl.UnknownFields
461
+ sizeCache protoimpl.SizeCache
462
+ }
463
+
464
+ func (x *GetDepartmentMaterialByIdResponse) Reset() {
465
+ *x = GetDepartmentMaterialByIdResponse{}
466
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[8]
467
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
468
+ ms.StoreMessageInfo(mi)
469
+ }
470
+
471
+ func (x *GetDepartmentMaterialByIdResponse) String() string {
472
+ return protoimpl.X.MessageStringOf(x)
473
+ }
474
+
475
+ func (*GetDepartmentMaterialByIdResponse) ProtoMessage() {}
476
+
477
+ func (x *GetDepartmentMaterialByIdResponse) ProtoReflect() protoreflect.Message {
478
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[8]
479
+ if x != nil {
480
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481
+ if ms.LoadMessageInfo() == nil {
482
+ ms.StoreMessageInfo(mi)
483
+ }
484
+ return ms
485
+ }
486
+ return mi.MessageOf(x)
487
+ }
488
+
489
+ // Deprecated: Use GetDepartmentMaterialByIdResponse.ProtoReflect.Descriptor instead.
490
+ func (*GetDepartmentMaterialByIdResponse) Descriptor() ([]byte, []int) {
491
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{8}
492
+ }
493
+
494
+ func (x *GetDepartmentMaterialByIdResponse) GetBaseDepartmentMaterial() *DepartmentMaterial {
495
+ if x != nil {
496
+ return x.BaseDepartmentMaterial
497
+ }
498
+ return nil
499
+ }
500
+
501
+ func (x *GetDepartmentMaterialByIdResponse) GetMeta() *meta.Meta {
502
+ if x != nil {
503
+ return x.Meta
504
+ }
505
+ return nil
506
+ }
507
+
508
+ type GetListDepartmentMaterialResponse struct {
509
+ state protoimpl.MessageState `protogen:"open.v1"`
510
+ BaseDepartmentMaterial []*DepartmentMaterial `protobuf:"bytes,1,rep,name=base_department_material,json=baseDepartmentMaterial,proto3" json:"base_department_material,omitempty"`
511
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
512
+ unknownFields protoimpl.UnknownFields
513
+ sizeCache protoimpl.SizeCache
514
+ }
515
+
516
+ func (x *GetListDepartmentMaterialResponse) Reset() {
517
+ *x = GetListDepartmentMaterialResponse{}
518
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[9]
519
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
520
+ ms.StoreMessageInfo(mi)
521
+ }
522
+
523
+ func (x *GetListDepartmentMaterialResponse) String() string {
524
+ return protoimpl.X.MessageStringOf(x)
525
+ }
526
+
527
+ func (*GetListDepartmentMaterialResponse) ProtoMessage() {}
528
+
529
+ func (x *GetListDepartmentMaterialResponse) ProtoReflect() protoreflect.Message {
530
+ mi := &file_prisca_v1_core_department_material_department_material_proto_msgTypes[9]
531
+ if x != nil {
532
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533
+ if ms.LoadMessageInfo() == nil {
534
+ ms.StoreMessageInfo(mi)
535
+ }
536
+ return ms
537
+ }
538
+ return mi.MessageOf(x)
539
+ }
540
+
541
+ // Deprecated: Use GetListDepartmentMaterialResponse.ProtoReflect.Descriptor instead.
542
+ func (*GetListDepartmentMaterialResponse) Descriptor() ([]byte, []int) {
543
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP(), []int{9}
544
+ }
545
+
546
+ func (x *GetListDepartmentMaterialResponse) GetBaseDepartmentMaterial() []*DepartmentMaterial {
547
+ if x != nil {
548
+ return x.BaseDepartmentMaterial
549
+ }
550
+ return nil
551
+ }
552
+
553
+ func (x *GetListDepartmentMaterialResponse) GetMeta() *meta.Meta {
554
+ if x != nil {
555
+ return x.Meta
556
+ }
557
+ return nil
558
+ }
559
+
560
+ var File_prisca_v1_core_department_material_department_material_proto protoreflect.FileDescriptor
561
+
562
+ var file_prisca_v1_core_department_material_department_material_proto_rawDesc = []byte{
563
+ 0x0a, 0x3c, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
564
+ 0x2f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65,
565
+ 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
566
+ 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
567
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
568
+ 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
569
+ 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
570
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
571
+ 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72,
572
+ 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
573
+ 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
574
+ 0x12, 0x32, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
575
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
576
+ 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
577
+ 0x69, 0x67, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
578
+ 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66,
579
+ 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
580
+ 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
581
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61,
582
+ 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70,
583
+ 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x75, 0x0a, 0x16, 0x42, 0x61, 0x73, 0x65, 0x44,
584
+ 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
585
+ 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
586
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61,
587
+ 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x74, 0x72,
588
+ 0x61, 0x6e, 0x73, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
589
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73,
590
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0x74,
591
+ 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65,
592
+ 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
593
+ 0x74, 0x12, 0x51, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74,
594
+ 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20,
595
+ 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74,
596
+ 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x16, 0x62, 0x61,
597
+ 0x73, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65,
598
+ 0x72, 0x69, 0x61, 0x6c, 0x22, 0x84, 0x01, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,
599
+ 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
600
+ 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
601
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65,
602
+ 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65,
603
+ 0x72, 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x42, 0x61, 0x73,
604
+ 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72,
605
+ 0x69, 0x61, 0x6c, 0x52, 0x16, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d,
606
+ 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x32, 0x0a, 0x20, 0x47,
607
+ 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65,
608
+ 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
609
+ 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22,
610
+ 0xa8, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72,
611
+ 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71,
612
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
613
+ 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63,
614
+ 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61,
615
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
616
+ 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
617
+ 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
618
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
619
+ 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
620
+ 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xa2, 0x01, 0x0a, 0x20, 0x43,
621
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
622
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
623
+ 0x4d, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65,
624
+ 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
625
+ 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61,
626
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x16, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70, 0x61,
627
+ 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x2f,
628
+ 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70,
629
+ 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e,
630
+ 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22,
631
+ 0xa2, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74,
632
+ 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70,
633
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70,
634
+ 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
635
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d,
636
+ 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x16, 0x62, 0x61, 0x73,
637
+ 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72,
638
+ 0x69, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28,
639
+ 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c,
640
+ 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04,
641
+ 0x6d, 0x65, 0x74, 0x61, 0x22, 0xa3, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61,
642
+ 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79,
643
+ 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x18, 0x62, 0x61,
644
+ 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61,
645
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44,
646
+ 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
647
+ 0x6c, 0x52, 0x16, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e,
648
+ 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74,
649
+ 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61,
650
+ 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
651
+ 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0xa3, 0x01, 0x0a, 0x21, 0x47,
652
+ 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74,
653
+ 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
654
+ 0x12, 0x4d, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d,
655
+ 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x03,
656
+ 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
657
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x16, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70,
658
+ 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12,
659
+ 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
660
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
661
+ 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61,
662
+ 0x32, 0xa6, 0x03, 0x0a, 0x19, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
663
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f,
664
+ 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65,
665
+ 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x43, 0x72, 0x65,
666
+ 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74,
667
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x43,
668
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
669
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
670
+ 0x5f, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d,
671
+ 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x55, 0x70,
672
+ 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61,
673
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
674
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74,
675
+ 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
676
+ 0x12, 0x62, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e,
677
+ 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x12, 0x21, 0x2e,
678
+ 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74,
679
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
680
+ 0x1a, 0x22, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74,
681
+ 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
682
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x44,
683
+ 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
684
+ 0x6c, 0x73, 0x12, 0x21, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x61,
685
+ 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65,
686
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x44,
687
+ 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
688
+ 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5b, 0x5a, 0x59, 0x67, 0x69, 0x74,
689
+ 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f,
690
+ 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72,
691
+ 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
692
+ 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
693
+ 0x72, 0x65, 0x2f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61,
694
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
695
+ }
696
+
697
+ var (
698
+ file_prisca_v1_core_department_material_department_material_proto_rawDescOnce sync.Once
699
+ file_prisca_v1_core_department_material_department_material_proto_rawDescData = file_prisca_v1_core_department_material_department_material_proto_rawDesc
700
+ )
701
+
702
+ func file_prisca_v1_core_department_material_department_material_proto_rawDescGZIP() []byte {
703
+ file_prisca_v1_core_department_material_department_material_proto_rawDescOnce.Do(func() {
704
+ file_prisca_v1_core_department_material_department_material_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_department_material_department_material_proto_rawDescData)
705
+ })
706
+ return file_prisca_v1_core_department_material_department_material_proto_rawDescData
707
+ }
708
+
709
+ var file_prisca_v1_core_department_material_department_material_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
710
+ var file_prisca_v1_core_department_material_department_material_proto_goTypes = []any{
711
+ (*DepartmentMaterial)(nil), // 0: DepartmentMaterial
712
+ (*BaseDepartmentMaterial)(nil), // 1: BaseDepartmentMaterial
713
+ (*CreateDepartmentMaterialRequest)(nil), // 2: CreateDepartmentMaterialRequest
714
+ (*UpdateDepartmentMaterialRequest)(nil), // 3: UpdateDepartmentMaterialRequest
715
+ (*GetDepartmentMaterialByIdRequest)(nil), // 4: GetDepartmentMaterialByIdRequest
716
+ (*GetListDepartmentMaterialRequest)(nil), // 5: GetListDepartmentMaterialRequest
717
+ (*CreateDepartmentMaterialResponse)(nil), // 6: CreateDepartmentMaterialResponse
718
+ (*UpdateDepartmentMaterialResponse)(nil), // 7: UpdateDepartmentMaterialResponse
719
+ (*GetDepartmentMaterialByIdResponse)(nil), // 8: GetDepartmentMaterialByIdResponse
720
+ (*GetListDepartmentMaterialResponse)(nil), // 9: GetListDepartmentMaterialResponse
721
+ (*meta.PaginationRequest)(nil), // 10: prisca.v1.global.meta.PaginationRequest
722
+ (*meta.FilterRequest)(nil), // 11: prisca.v1.global.meta.FilterRequest
723
+ (*meta.Meta)(nil), // 12: prisca.v1.global.meta.Meta
724
+ }
725
+ var file_prisca_v1_core_department_material_department_material_proto_depIdxs = []int32{
726
+ 1, // 0: CreateDepartmentMaterialRequest.base_department_material:type_name -> BaseDepartmentMaterial
727
+ 1, // 1: UpdateDepartmentMaterialRequest.base_department_material:type_name -> BaseDepartmentMaterial
728
+ 10, // 2: GetListDepartmentMaterialRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
729
+ 11, // 3: GetListDepartmentMaterialRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
730
+ 0, // 4: CreateDepartmentMaterialResponse.base_department_material:type_name -> DepartmentMaterial
731
+ 12, // 5: CreateDepartmentMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
732
+ 0, // 6: UpdateDepartmentMaterialResponse.base_department_material:type_name -> DepartmentMaterial
733
+ 12, // 7: UpdateDepartmentMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
734
+ 0, // 8: GetDepartmentMaterialByIdResponse.base_department_material:type_name -> DepartmentMaterial
735
+ 12, // 9: GetDepartmentMaterialByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
736
+ 0, // 10: GetListDepartmentMaterialResponse.base_department_material:type_name -> DepartmentMaterial
737
+ 12, // 11: GetListDepartmentMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
738
+ 2, // 12: DepartmentMaterialService.CreateDepartmentMaterial:input_type -> CreateDepartmentMaterialRequest
739
+ 3, // 13: DepartmentMaterialService.UpdateDepartmentMaterial:input_type -> UpdateDepartmentMaterialRequest
740
+ 4, // 14: DepartmentMaterialService.GetDepartmentMaterialById:input_type -> GetDepartmentMaterialByIdRequest
741
+ 5, // 15: DepartmentMaterialService.GetListDepartmentMaterials:input_type -> GetListDepartmentMaterialRequest
742
+ 6, // 16: DepartmentMaterialService.CreateDepartmentMaterial:output_type -> CreateDepartmentMaterialResponse
743
+ 7, // 17: DepartmentMaterialService.UpdateDepartmentMaterial:output_type -> UpdateDepartmentMaterialResponse
744
+ 8, // 18: DepartmentMaterialService.GetDepartmentMaterialById:output_type -> GetDepartmentMaterialByIdResponse
745
+ 9, // 19: DepartmentMaterialService.GetListDepartmentMaterials:output_type -> GetListDepartmentMaterialResponse
746
+ 16, // [16:20] is the sub-list for method output_type
747
+ 12, // [12:16] is the sub-list for method input_type
748
+ 12, // [12:12] is the sub-list for extension type_name
749
+ 12, // [12:12] is the sub-list for extension extendee
750
+ 0, // [0:12] is the sub-list for field type_name
751
+ }
752
+
753
+ func init() { file_prisca_v1_core_department_material_department_material_proto_init() }
754
+ func file_prisca_v1_core_department_material_department_material_proto_init() {
755
+ if File_prisca_v1_core_department_material_department_material_proto != nil {
756
+ return
757
+ }
758
+ type x struct{}
759
+ out := protoimpl.TypeBuilder{
760
+ File: protoimpl.DescBuilder{
761
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
762
+ RawDescriptor: file_prisca_v1_core_department_material_department_material_proto_rawDesc,
763
+ NumEnums: 0,
764
+ NumMessages: 10,
765
+ NumExtensions: 0,
766
+ NumServices: 1,
767
+ },
768
+ GoTypes: file_prisca_v1_core_department_material_department_material_proto_goTypes,
769
+ DependencyIndexes: file_prisca_v1_core_department_material_department_material_proto_depIdxs,
770
+ MessageInfos: file_prisca_v1_core_department_material_department_material_proto_msgTypes,
771
+ }.Build()
772
+ File_prisca_v1_core_department_material_department_material_proto = out.File
773
+ file_prisca_v1_core_department_material_department_material_proto_rawDesc = nil
774
+ file_prisca_v1_core_department_material_department_material_proto_goTypes = nil
775
+ file_prisca_v1_core_department_material_department_material_proto_depIdxs = nil
776
+ }