Documentation
¶
Index ¶
- Variables
- type TableColumn
- func (*TableColumn) Descriptor() ([]byte, []int)deprecated
- func (x *TableColumn) GetCreatedAt() *timestamp.Timestamp
- func (x *TableColumn) GetDeletedAt() *deletedAt.DeletedAt
- func (x *TableColumn) GetId() uint64
- func (x *TableColumn) GetName() string
- func (x *TableColumn) GetStatus() uint32
- func (x *TableColumn) GetTableId() uint64
- func (x *TableColumn) GetType() uint32
- func (x *TableColumn) GetUpdatedAt() *timestamp.Timestamp
- func (*TableColumn) ProtoMessage()
- func (x *TableColumn) ProtoReflect() protoreflect.Message
- func (x *TableColumn) Reset()
- func (x *TableColumn) String() string
- type TableMeta
- func (*TableMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TableMeta) GetCreatedAt() *timestamp.Timestamp
- func (x *TableMeta) GetDeletedAt() *deletedAt.DeletedAt
- func (x *TableMeta) GetId() uint64
- func (x *TableMeta) GetName() string
- func (x *TableMeta) GetStatus() uint32
- func (x *TableMeta) GetUpdatedAt() *timestamp.Timestamp
- func (*TableMeta) ProtoMessage()
- func (x *TableMeta) ProtoReflect() protoreflect.Message
- func (x *TableMeta) Reset()
- func (x *TableMeta) String() string
- type TableValue
- func (*TableValue) Descriptor() ([]byte, []int)deprecated
- func (x *TableValue) GetColumnId() string
- func (x *TableValue) GetCreatedAt() *timestamp.Timestamp
- func (x *TableValue) GetDeletedAt() *deletedAt.DeletedAt
- func (x *TableValue) GetId() uint64
- func (x *TableValue) GetStatus() uint32
- func (x *TableValue) GetUpdatedAt() *timestamp.Timestamp
- func (x *TableValue) GetValue() string
- func (*TableValue) ProtoMessage()
- func (x *TableValue) ProtoReflect() protoreflect.Message
- func (x *TableValue) Reset()
- func (x *TableValue) String() string
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) GetCreatedAt ¶
func (*TableMeta) GetDeletedAt ¶
func (*TableMeta) GetUpdatedAt ¶
func (*TableMeta) ProtoMessage ¶
func (*TableMeta) ProtoMessage()
func (*TableMeta) ProtoReflect ¶
func (x *TableMeta) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.