Documentation
¶
Index ¶
- Variables
- type Area
- func (*Area) Descriptor() ([]byte, []int)deprecated
- func (x *Area) GetCode() uint64
- func (x *Area) GetLevel() int32
- func (x *Area) GetModelTime() *ModelTime
- func (x *Area) GetName() string
- func (x *Area) GetPcode() uint64
- func (*Area) ProtoMessage()
- func (x *Area) ProtoReflect() protoreflect.Message
- func (x *Area) Reset()
- func (x *Area) String() string
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetId() uint64
- func (x *Attribute) GetModelTime() *ModelTime
- func (x *Attribute) GetName() string
- func (x *Attribute) GetStatus() uint32
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type Dict
- func (*Dict) Descriptor() ([]byte, []int)deprecated
- func (x *Dict) GetGroup() uint32
- func (x *Dict) GetId() uint64
- func (x *Dict) GetKey() string
- func (x *Dict) GetModelTime() *ModelTime
- func (x *Dict) GetSeq() uint32
- func (x *Dict) GetStatus() uint32
- func (x *Dict) GetType() uint32
- func (x *Dict) GetValue() string
- func (*Dict) ProtoMessage()
- func (x *Dict) ProtoReflect() protoreflect.Message
- func (x *Dict) Reset()
- func (x *Dict) String() string
- type Enum
- func (*Enum) Descriptor() ([]byte, []int)deprecated
- func (x *Enum) GetGroup() uint64
- func (x *Enum) GetId() uint64
- func (x *Enum) GetModelTime() *ModelTime
- func (x *Enum) GetName() string
- func (x *Enum) GetStatus() uint32
- func (x *Enum) GetType() uint32
- func (*Enum) ProtoMessage()
- func (x *Enum) ProtoReflect() protoreflect.Message
- func (x *Enum) Reset()
- func (x *Enum) String() string
- type EnumValue
- func (*EnumValue) Descriptor() ([]byte, []int)deprecated
- func (x *EnumValue) GetEnumId() uint64
- func (x *EnumValue) GetId() uint64
- func (x *EnumValue) GetIndex() uint64
- func (x *EnumValue) GetModelTime() *ModelTime
- func (x *EnumValue) GetStatus() uint32
- func (x *EnumValue) GetValue() string
- func (*EnumValue) ProtoMessage()
- func (x *EnumValue) ProtoReflect() protoreflect.Message
- func (x *EnumValue) Reset()
- func (x *EnumValue) String() string
- type FrontRoute
- func (*FrontRoute) Descriptor() ([]byte, []int)deprecated
- func (x *FrontRoute) GetChildren() []*FrontRoute
- func (x *FrontRoute) GetId() uint64
- func (x *FrontRoute) GetMeta() *FrontRouteMeta
- func (x *FrontRoute) GetModelTime() *ModelTime
- func (x *FrontRoute) GetName() string
- func (x *FrontRoute) GetParentId() uint64
- func (x *FrontRoute) GetPath() string
- func (x *FrontRoute) GetRedirect() string
- func (*FrontRoute) ProtoMessage()
- func (x *FrontRoute) ProtoReflect() protoreflect.Message
- func (x *FrontRoute) Reset()
- func (x *FrontRoute) String() string
- type FrontRouteMeta
- func (*FrontRouteMeta) Descriptor() ([]byte, []int)deprecated
- func (x *FrontRouteMeta) GetIcon() string
- func (x *FrontRouteMeta) GetRank() int32
- func (x *FrontRouteMeta) GetRoles() []string
- func (x *FrontRouteMeta) GetShowLink() bool
- func (x *FrontRouteMeta) GetTitle() string
- func (*FrontRouteMeta) ProtoMessage()
- func (x *FrontRouteMeta) ProtoReflect() protoreflect.Message
- func (x *FrontRouteMeta) Reset()
- func (x *FrontRouteMeta) String() string
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetCreatedAt() *timestamp.Timestamp
- func (x *Model) GetDeletedAt() *deletedAt.DeletedAt
- func (x *Model) GetId() uint64
- func (x *Model) GetUpdatedAt() *timestamp.Timestamp
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- type ModelTime
- func (*ModelTime) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTime) GetCreatedAt() *timestamp.Timestamp
- func (x *ModelTime) GetDeletedAt() *deletedAt.DeletedAt
- func (x *ModelTime) GetUpdatedAt() *timestamp.Timestamp
- func (*ModelTime) ProtoMessage()
- func (x *ModelTime) ProtoReflect() protoreflect.Message
- func (x *ModelTime) Reset()
- func (x *ModelTime) String() string
- type ModelTimeInt
- func (*ModelTimeInt) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTimeInt) GetCreatedAt() int64
- func (x *ModelTimeInt) GetDeletedAt() int64
- func (x *ModelTimeInt) GetUpdatedAt() int64
- func (*ModelTimeInt) ProtoMessage()
- func (x *ModelTimeInt) ProtoReflect() protoreflect.Message
- func (x *ModelTimeInt) Reset()
- func (x *ModelTimeInt) String() string
- type ModelTimeStr
- func (*ModelTimeStr) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTimeStr) GetCreatedAt() string
- func (x *ModelTimeStr) GetDeletedAt() string
- func (x *ModelTimeStr) GetUpdatedAt() string
- func (*ModelTimeStr) ProtoMessage()
- func (x *ModelTimeStr) ProtoReflect() protoreflect.Message
- func (x *ModelTimeStr) Reset()
- func (x *ModelTimeStr) String() string
- type TableColumn
- func (*TableColumn) Descriptor() ([]byte, []int)deprecated
- func (x *TableColumn) GetModel() *Model
- func (x *TableColumn) GetName() string
- func (x *TableColumn) GetStatus() uint32
- func (x *TableColumn) GetTableId() uint64
- func (x *TableColumn) GetType() uint32
- 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) GetModel() *Model
- func (x *TableMeta) GetName() string
- func (x *TableMeta) GetStatus() uint32
- 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) GetModel() *Model
- func (x *TableValue) GetStatus() uint32
- 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_basic_proto protoreflect.FileDescriptor
View Source
var File_hopeio_model_model_proto protoreflect.FileDescriptor
View Source
var File_hopeio_model_table_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Area ¶
type Area struct {
Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" gorm:"primaryKey"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
Pcode uint64 `protobuf:"varint,4,opt,name=pcode,proto3" json:"pcode,omitempty"`
ModelTime *ModelTime `protobuf:"bytes,5,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*Area) Descriptor
deprecated
func (*Area) GetModelTime ¶ added in v0.7.6
func (*Area) ProtoMessage ¶
func (*Area) ProtoMessage()
func (*Area) ProtoReflect ¶
func (x *Area) ProtoReflect() protoreflect.Message
type Attribute ¶
type Attribute 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"`
Status uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
ModelTime *ModelTime `protobuf:"bytes,4,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetModelTime ¶ added in v0.7.6
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type Dict ¶
type Dict struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
Group uint32 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" gorm:"键"`
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty" comment:"值"`
Type uint32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty" comment:"类型"`
Seq uint32 `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty" comment:"顺序"`
Status uint32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
ModelTime *ModelTime `protobuf:"bytes,9,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*Dict) Descriptor
deprecated
func (*Dict) GetModelTime ¶ added in v0.7.6
func (*Dict) ProtoMessage ¶
func (*Dict) ProtoMessage()
func (*Dict) ProtoReflect ¶
func (x *Dict) ProtoReflect() protoreflect.Message
type Enum ¶
type Enum struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
Group uint64 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty" gorm:"size:20"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty" comment:"类型"`
Status uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
ModelTime *ModelTime `protobuf:"bytes,6,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*Enum) Descriptor
deprecated
func (*Enum) GetModelTime ¶ added in v0.7.6
func (*Enum) ProtoMessage ¶
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶
func (x *Enum) ProtoReflect() protoreflect.Message
type EnumValue ¶
type EnumValue struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
EnumId uint64 `protobuf:"varint,2,opt,name=enumId,proto3" json:"enumId,omitempty"`
Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty" gorm:"comment:index"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty" comment:"值"`
Status uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
ModelTime *ModelTime `protobuf:"bytes,6,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*EnumValue) Descriptor
deprecated
func (*EnumValue) GetModelTime ¶ added in v0.7.6
func (*EnumValue) ProtoMessage ¶
func (*EnumValue) ProtoMessage()
func (*EnumValue) ProtoReflect ¶
func (x *EnumValue) ProtoReflect() protoreflect.Message
type FrontRoute ¶ added in v0.7.4
type FrontRoute struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Redirect string `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect,omitempty"`
Meta *FrontRouteMeta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,inline" gorm:"embedded"`
ParentId uint64 `protobuf:"varint,6,opt,name=parentId,proto3" json:"parentId,omitempty" gorm:"not null;default:0" comment:"父级id"`
Children []*FrontRoute `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty" gorm:"foreignkey:ParentId"`
ModelTime *ModelTime `protobuf:"bytes,8,opt,name=modelTime,proto3" json:"modelTime,inline" gorm:"embedded"`
// contains filtered or unexported fields
}
func (*FrontRoute) Descriptor
deprecated
added in
v0.7.4
func (*FrontRoute) Descriptor() ([]byte, []int)
Deprecated: Use FrontRoute.ProtoReflect.Descriptor instead.
func (*FrontRoute) GetChildren ¶ added in v0.7.4
func (x *FrontRoute) GetChildren() []*FrontRoute
func (*FrontRoute) GetId ¶ added in v0.7.6
func (x *FrontRoute) GetId() uint64
func (*FrontRoute) GetMeta ¶ added in v0.7.4
func (x *FrontRoute) GetMeta() *FrontRouteMeta
func (*FrontRoute) GetModelTime ¶ added in v0.7.6
func (x *FrontRoute) GetModelTime() *ModelTime
func (*FrontRoute) GetName ¶ added in v0.7.4
func (x *FrontRoute) GetName() string
func (*FrontRoute) GetParentId ¶ added in v0.7.4
func (x *FrontRoute) GetParentId() uint64
func (*FrontRoute) GetPath ¶ added in v0.7.4
func (x *FrontRoute) GetPath() string
func (*FrontRoute) GetRedirect ¶ added in v0.7.4
func (x *FrontRoute) GetRedirect() string
func (*FrontRoute) ProtoMessage ¶ added in v0.7.4
func (*FrontRoute) ProtoMessage()
func (*FrontRoute) ProtoReflect ¶ added in v0.7.4
func (x *FrontRoute) ProtoReflect() protoreflect.Message
func (*FrontRoute) Reset ¶ added in v0.7.4
func (x *FrontRoute) Reset()
func (*FrontRoute) String ¶ added in v0.7.4
func (x *FrontRoute) String() string
type FrontRouteMeta ¶ added in v0.7.4
type FrontRouteMeta struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"`
ShowLink bool `protobuf:"varint,3,opt,name=showLink,proto3" json:"showLink,omitempty"`
Rank int32 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"`
Roles []string `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty" gorm:"type:text[];serializer:string_array"`
// contains filtered or unexported fields
}
func (*FrontRouteMeta) Descriptor
deprecated
added in
v0.7.4
func (*FrontRouteMeta) Descriptor() ([]byte, []int)
Deprecated: Use FrontRouteMeta.ProtoReflect.Descriptor instead.
func (*FrontRouteMeta) GetIcon ¶ added in v0.7.4
func (x *FrontRouteMeta) GetIcon() string
func (*FrontRouteMeta) GetRank ¶ added in v0.7.4
func (x *FrontRouteMeta) GetRank() int32
func (*FrontRouteMeta) GetRoles ¶ added in v0.7.4
func (x *FrontRouteMeta) GetRoles() []string
func (*FrontRouteMeta) GetShowLink ¶ added in v0.7.4
func (x *FrontRouteMeta) GetShowLink() bool
func (*FrontRouteMeta) GetTitle ¶ added in v0.7.4
func (x *FrontRouteMeta) GetTitle() string
func (*FrontRouteMeta) ProtoMessage ¶ added in v0.7.4
func (*FrontRouteMeta) ProtoMessage()
func (*FrontRouteMeta) ProtoReflect ¶ added in v0.7.4
func (x *FrontRouteMeta) ProtoReflect() protoreflect.Message
func (*FrontRouteMeta) Reset ¶ added in v0.7.4
func (x *FrontRouteMeta) Reset()
func (*FrontRouteMeta) String ¶ added in v0.7.4
func (x *FrontRouteMeta) String() string
type Model ¶
type Model struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now()"`
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,4,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
// contains filtered or unexported fields
}
[(go.field) = {tags:'json:",inline" gorm:"embedded"'}]
func (*Model) Descriptor
deprecated
func (*Model) GetCreatedAt ¶
func (*Model) GetDeletedAt ¶
func (*Model) GetUpdatedAt ¶
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶
func (x *Model) ProtoReflect() protoreflect.Message
type ModelTime ¶
type ModelTime struct {
CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
// contains filtered or unexported fields
}
[(go.field) = {tags:'json:",inline" gorm:"embedded"'}]
func (*ModelTime) Descriptor
deprecated
func (*ModelTime) GetCreatedAt ¶
func (*ModelTime) GetDeletedAt ¶
func (*ModelTime) GetUpdatedAt ¶
func (*ModelTime) ProtoMessage ¶
func (*ModelTime) ProtoMessage()
func (*ModelTime) ProtoReflect ¶
func (x *ModelTime) ProtoReflect() protoreflect.Message
type ModelTimeInt ¶
type ModelTimeInt struct {
CreatedAt int64 `protobuf:"varint,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"`
UpdatedAt int64 `protobuf:"varint,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
DeletedAt int64 `protobuf:"varint,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
// contains filtered or unexported fields
}
[(go.field) = {tags:'json:",inline" gorm:"embedded"'}]
func (*ModelTimeInt) Descriptor
deprecated
func (*ModelTimeInt) Descriptor() ([]byte, []int)
Deprecated: Use ModelTimeInt.ProtoReflect.Descriptor instead.
func (*ModelTimeInt) GetCreatedAt ¶
func (x *ModelTimeInt) GetCreatedAt() int64
func (*ModelTimeInt) GetDeletedAt ¶
func (x *ModelTimeInt) GetDeletedAt() int64
func (*ModelTimeInt) GetUpdatedAt ¶
func (x *ModelTimeInt) GetUpdatedAt() int64
func (*ModelTimeInt) ProtoMessage ¶
func (*ModelTimeInt) ProtoMessage()
func (*ModelTimeInt) ProtoReflect ¶
func (x *ModelTimeInt) ProtoReflect() protoreflect.Message
func (*ModelTimeInt) Reset ¶
func (x *ModelTimeInt) Reset()
func (*ModelTimeInt) String ¶
func (x *ModelTimeInt) 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"`
UpdatedAt string `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"`
DeletedAt string `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"`
// contains filtered or unexported fields
}
[(go.field) = {tags:'json:",inline" gorm:"embedded"'}]
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) GetUpdatedAt ¶
func (x *ModelTimeStr) GetUpdatedAt() 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
type TableColumn ¶
type TableColumn struct {
Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:",inline" gorm:"embedded"`
TableId uint64 `protobuf:"varint,2,opt,name=tableId,proto3" json:"tableId,omitempty" gorm:"comment:tableId"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
Status uint32 `protobuf:"varint,5,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) GetModel ¶
func (x *TableColumn) GetModel() *Model
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) 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 {
Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:",inline" gorm:"embedded"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Status uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"`
// contains filtered or unexported fields
}
func (*TableMeta) Descriptor
deprecated
func (*TableMeta) ProtoMessage ¶
func (*TableMeta) ProtoMessage()
func (*TableMeta) ProtoReflect ¶
func (x *TableMeta) ProtoReflect() protoreflect.Message
type TableValue ¶
type TableValue struct {
Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:",inline" gorm:"embedded"`
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:"值"`
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) GetModel ¶
func (x *TableValue) GetModel() *Model
func (*TableValue) GetStatus ¶
func (x *TableValue) GetStatus() uint32
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.