model

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cherry_protobuf_time_model_model_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ModelTime

type ModelTime struct {
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now()"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6);default:now()"`
	DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	// contains filtered or unexported fields
}

func (*ModelTime) Descriptor deprecated

func (*ModelTime) Descriptor() ([]byte, []int)

Deprecated: Use ModelTime.ProtoReflect.Descriptor instead.

func (*ModelTime) GetCreatedAt

func (x *ModelTime) GetCreatedAt() *timestamp.Timestamp

func (*ModelTime) GetDeletedAt

func (x *ModelTime) GetDeletedAt() *deletedAt.DeletedAt

func (*ModelTime) GetUpdatedAt

func (x *ModelTime) GetUpdatedAt() *timestamp.Timestamp

func (*ModelTime) ProtoMessage

func (*ModelTime) ProtoMessage()

func (*ModelTime) ProtoReflect

func (x *ModelTime) ProtoReflect() protoreflect.Message

func (*ModelTime) Reset

func (x *ModelTime) Reset()

func (*ModelTime) String

func (x *ModelTime) String() string

type ModelTimeStr

type ModelTimeStr struct {
	CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	UpdateAt  string `protobuf:"bytes,2,opt,name=updateAt,proto3" json:"updateAt,omitempty" gorm:"type:timestamptz(6);default:now()"`
	DeletedAt string `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	// contains filtered or unexported fields
}

func (*ModelTimeStr) Descriptor deprecated

func (*ModelTimeStr) Descriptor() ([]byte, []int)

Deprecated: Use ModelTimeStr.ProtoReflect.Descriptor instead.

func (*ModelTimeStr) GetCreatedAt

func (x *ModelTimeStr) GetCreatedAt() string

func (*ModelTimeStr) GetDeletedAt

func (x *ModelTimeStr) GetDeletedAt() string

func (*ModelTimeStr) GetUpdateAt

func (x *ModelTimeStr) GetUpdateAt() string

func (*ModelTimeStr) ProtoMessage

func (*ModelTimeStr) ProtoMessage()

func (*ModelTimeStr) ProtoReflect

func (x *ModelTimeStr) ProtoReflect() protoreflect.Message

func (*ModelTimeStr) Reset

func (x *ModelTimeStr) Reset()

func (*ModelTimeStr) String

func (x *ModelTimeStr) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL