table

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hopeio_model_table_table_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TableColumn

type TableColumn struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	TableId   uint64               `protobuf:"varint,2,opt,name=tableId,proto3" json:"tableId,omitempty" gorm:"comment:tableId"`
	Name      string               `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Type      uint32               `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,16,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,26,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
	DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,28,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	Status    uint32               `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
	// contains filtered or unexported fields
}

func (*TableColumn) Descriptor deprecated

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

Deprecated: Use TableColumn.ProtoReflect.Descriptor instead.

func (*TableColumn) GetCreatedAt

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

func (*TableColumn) GetDeletedAt

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

func (*TableColumn) GetId

func (x *TableColumn) GetId() uint64

func (*TableColumn) GetName

func (x *TableColumn) GetName() string

func (*TableColumn) GetStatus

func (x *TableColumn) GetStatus() uint32

func (*TableColumn) GetTableId

func (x *TableColumn) GetTableId() uint64

func (*TableColumn) GetType

func (x *TableColumn) GetType() uint32

func (*TableColumn) GetUpdatedAt

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

func (*TableColumn) ProtoMessage

func (*TableColumn) ProtoMessage()

func (*TableColumn) ProtoReflect

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

func (*TableColumn) Reset

func (x *TableColumn) Reset()

func (*TableColumn) String

func (x *TableColumn) String() string

type TableMeta

type TableMeta struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	Name      string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,16,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,26,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
	DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,28,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	Status    uint32               `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
	// contains filtered or unexported fields
}

func (*TableMeta) Descriptor deprecated

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

Deprecated: Use TableMeta.ProtoReflect.Descriptor instead.

func (*TableMeta) GetCreatedAt

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

func (*TableMeta) GetDeletedAt

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

func (*TableMeta) GetId

func (x *TableMeta) GetId() uint64

func (*TableMeta) GetName

func (x *TableMeta) GetName() string

func (*TableMeta) GetStatus

func (x *TableMeta) GetStatus() uint32

func (*TableMeta) GetUpdatedAt

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

func (*TableMeta) ProtoMessage

func (*TableMeta) ProtoMessage()

func (*TableMeta) ProtoReflect

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

func (*TableMeta) Reset

func (x *TableMeta) Reset()

func (*TableMeta) String

func (x *TableMeta) String() string

type TableValue

type TableValue struct {
	Id        uint64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	ColumnId  string               `protobuf:"bytes,2,opt,name=columnId,proto3" json:"columnId,omitempty"`
	Value     string               `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty" comment:"值"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,16,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,26,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
	DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,28,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
	Status    uint32               `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
	// contains filtered or unexported fields
}

func (*TableValue) Descriptor deprecated

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

Deprecated: Use TableValue.ProtoReflect.Descriptor instead.

func (*TableValue) GetColumnId

func (x *TableValue) GetColumnId() string

func (*TableValue) GetCreatedAt

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

func (*TableValue) GetDeletedAt

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

func (*TableValue) GetId

func (x *TableValue) GetId() uint64

func (*TableValue) GetStatus

func (x *TableValue) GetStatus() uint32

func (*TableValue) GetUpdatedAt

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

func (*TableValue) GetValue

func (x *TableValue) GetValue() string

func (*TableValue) ProtoMessage

func (*TableValue) ProtoMessage()

func (*TableValue) ProtoReflect

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

func (*TableValue) Reset

func (x *TableValue) Reset()

func (*TableValue) String

func (x *TableValue) String() string

Jump to

Keyboard shortcuts

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