generated from PenaSide/GolangTemplate
161 lines
5.3 KiB
Go
161 lines
5.3 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.7
|
|
// protoc (unknown)
|
|
// source: discount/audit.model.proto
|
|
|
|
package discount
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
_ "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Audit struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
|
|
DeletedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=DeletedAt,proto3,oneof" json:"DeletedAt,omitempty"`
|
|
Deleted bool `protobuf:"varint,4,opt,name=Deleted,proto3" json:"Deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Audit) Reset() {
|
|
*x = Audit{}
|
|
mi := &file_discount_audit_model_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Audit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Audit) ProtoMessage() {}
|
|
|
|
func (x *Audit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_discount_audit_model_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Audit.ProtoReflect.Descriptor instead.
|
|
func (*Audit) Descriptor() ([]byte, []int) {
|
|
return file_discount_audit_model_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Audit) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Audit) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Audit) GetDeletedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.DeletedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Audit) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_discount_audit_model_proto protoreflect.FileDescriptor
|
|
|
|
const file_discount_audit_model_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1adiscount/audit.model.proto\x12\bdiscount\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xe2\x01\n" +
|
|
"\x05Audit\x128\n" +
|
|
"\tUpdatedAt\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tUpdatedAt\x128\n" +
|
|
"\tCreatedAt\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tCreatedAt\x12=\n" +
|
|
"\tDeletedAt\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\tDeletedAt\x88\x01\x01\x12\x18\n" +
|
|
"\aDeleted\x18\x04 \x01(\bR\aDeletedB\f\n" +
|
|
"\n" +
|
|
"_DeletedAtB\fZ\n" +
|
|
"./discountb\x06proto3"
|
|
|
|
var (
|
|
file_discount_audit_model_proto_rawDescOnce sync.Once
|
|
file_discount_audit_model_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_discount_audit_model_proto_rawDescGZIP() []byte {
|
|
file_discount_audit_model_proto_rawDescOnce.Do(func() {
|
|
file_discount_audit_model_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_discount_audit_model_proto_rawDesc), len(file_discount_audit_model_proto_rawDesc)))
|
|
})
|
|
return file_discount_audit_model_proto_rawDescData
|
|
}
|
|
|
|
var file_discount_audit_model_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
var file_discount_audit_model_proto_goTypes = []any{
|
|
(*Audit)(nil), // 0: discount.Audit
|
|
(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
|
|
}
|
|
var file_discount_audit_model_proto_depIdxs = []int32{
|
|
1, // 0: discount.Audit.UpdatedAt:type_name -> google.protobuf.Timestamp
|
|
1, // 1: discount.Audit.CreatedAt:type_name -> google.protobuf.Timestamp
|
|
1, // 2: discount.Audit.DeletedAt:type_name -> google.protobuf.Timestamp
|
|
3, // [3:3] is the sub-list for method output_type
|
|
3, // [3:3] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_discount_audit_model_proto_init() }
|
|
func file_discount_audit_model_proto_init() {
|
|
if File_discount_audit_model_proto != nil {
|
|
return
|
|
}
|
|
file_discount_audit_model_proto_msgTypes[0].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_discount_audit_model_proto_rawDesc), len(file_discount_audit_model_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 1,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_discount_audit_model_proto_goTypes,
|
|
DependencyIndexes: file_discount_audit_model_proto_depIdxs,
|
|
MessageInfos: file_discount_audit_model_proto_msgTypes,
|
|
}.Build()
|
|
File_discount_audit_model_proto = out.File
|
|
file_discount_audit_model_proto_goTypes = nil
|
|
file_discount_audit_model_proto_depIdxs = nil
|
|
}
|