-
Notifications
You must be signed in to change notification settings - Fork 1
/
permission_resource.pb.go
112 lines (99 loc) · 4.44 KB
/
permission_resource.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: permission_resource.proto
package permission
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//权限点的依赖资源(依赖资源需要先登记在permission的settings.permission_resource中)
type PermissionResource struct {
//
//权限点id
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//系统名
System string `protobuf:"bytes,2,opt,name=system,proto3" json:"system" form:"system"`
//
//验证条件
Condition *types.Struct `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition" form:"condition"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PermissionResource) Reset() { *m = PermissionResource{} }
func (m *PermissionResource) String() string { return proto.CompactTextString(m) }
func (*PermissionResource) ProtoMessage() {}
func (*PermissionResource) Descriptor() ([]byte, []int) {
return fileDescriptor_4ffd203bb5012863, []int{0}
}
func (m *PermissionResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PermissionResource.Unmarshal(m, b)
}
func (m *PermissionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PermissionResource.Marshal(b, m, deterministic)
}
func (m *PermissionResource) XXX_Merge(src proto.Message) {
xxx_messageInfo_PermissionResource.Merge(m, src)
}
func (m *PermissionResource) XXX_Size() int {
return xxx_messageInfo_PermissionResource.Size(m)
}
func (m *PermissionResource) XXX_DiscardUnknown() {
xxx_messageInfo_PermissionResource.DiscardUnknown(m)
}
var xxx_messageInfo_PermissionResource proto.InternalMessageInfo
func (m *PermissionResource) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PermissionResource) GetSystem() string {
if m != nil {
return m.System
}
return ""
}
func (m *PermissionResource) GetCondition() *types.Struct {
if m != nil {
return m.Condition
}
return nil
}
func init() {
proto.RegisterType((*PermissionResource)(nil), "permission.PermissionResource")
}
func init() { proto.RegisterFile("permission_resource.proto", fileDescriptor_4ffd203bb5012863) }
var fileDescriptor_4ffd203bb5012863 = []byte{
// 267 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xc1, 0x4a, 0xc4, 0x30,
0x14, 0x45, 0xa9, 0xca, 0xc0, 0x64, 0x10, 0x35, 0x08, 0x8e, 0x83, 0xd0, 0x21, 0x6e, 0xc6, 0xc5,
0x24, 0xa0, 0x3b, 0x97, 0x45, 0xdc, 0xb8, 0x91, 0xba, 0x73, 0x23, 0x6d, 0x26, 0x13, 0x03, 0x4d,
0x5e, 0xc9, 0x4b, 0x17, 0xf3, 0x59, 0xfe, 0x50, 0x3f, 0xa2, 0x5f, 0x20, 0x26, 0x75, 0xba, 0xcb,
0x7d, 0xf7, 0xdc, 0x97, 0x9b, 0x90, 0xdb, 0x56, 0x79, 0x6b, 0x10, 0x0d, 0xb8, 0x2f, 0xaf, 0x10,
0x3a, 0x2f, 0x15, 0x6f, 0x3d, 0x04, 0xa0, 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