Documentation
¶
Index ¶
- Variables
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetCreatedAt() *timestamp.Timestamp
- func (x *Object) GetDeletedAt() *deletedAt.DeletedAt
- func (x *Object) GetFieldId() string
- func (x *Object) GetId() uint64
- func (x *Object) GetStatus() uint32
- func (x *Object) GetUpdatedAt() *timestamp.Timestamp
- func (x *Object) GetValue() string
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type Struct
- func (*Struct) Descriptor() ([]byte, []int)deprecated
- func (x *Struct) GetCreatedAt() *timestamp.Timestamp
- func (x *Struct) GetDeletedAt() *deletedAt.DeletedAt
- func (x *Struct) GetId() uint64
- func (x *Struct) GetName() string
- func (x *Struct) GetStatus() uint32
- func (x *Struct) GetUpdatedAt() *timestamp.Timestamp
- func (*Struct) ProtoMessage()
- func (x *Struct) ProtoReflect() protoreflect.Message
- func (x *Struct) Reset()
- func (x *Struct) String() string
- type StructField
- func (*StructField) Descriptor() ([]byte, []int)deprecated
- func (x *StructField) GetCreatedAt() *timestamp.Timestamp
- func (x *StructField) GetDeletedAt() *deletedAt.DeletedAt
- func (x *StructField) GetId() uint64
- func (x *StructField) GetName() string
- func (x *StructField) GetPId() uint64
- func (x *StructField) GetStatus() uint32
- func (x *StructField) GetStructId() uint64
- func (x *StructField) GetType() uint32
- func (x *StructField) GetUpdatedAt() *timestamp.Timestamp
- func (*StructField) ProtoMessage()
- func (x *StructField) ProtoReflect() protoreflect.Message
- func (x *StructField) Reset()
- func (x *StructField) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hopeio_model_struct_struct_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"` FieldId string `protobuf:"bytes,2,opt,name=fieldId,proto3" json:"fieldId,omitempty"` Value string `protobuf:"bytes,6,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 (*Object) Descriptor
deprecated
func (*Object) GetCreatedAt ¶
func (*Object) GetDeletedAt ¶
func (*Object) GetFieldId ¶
func (*Object) GetUpdatedAt ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type Struct ¶
type Struct 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 (*Struct) Descriptor
deprecated
func (*Struct) GetCreatedAt ¶
func (*Struct) GetDeletedAt ¶
func (*Struct) GetUpdatedAt ¶
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
type StructField ¶
type StructField struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"` StructId uint64 `protobuf:"varint,2,opt,name=structId,proto3" json:"structId,omitempty" gorm:"comment:structId"` PId uint64 `protobuf:"varint,3,opt,name=pId,proto3" json:"pId,omitempty" gorm:"comment:pId"` 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 (*StructField) Descriptor
deprecated
func (*StructField) Descriptor() ([]byte, []int)
Deprecated: Use StructField.ProtoReflect.Descriptor instead.
func (*StructField) GetCreatedAt ¶
func (x *StructField) GetCreatedAt() *timestamp.Timestamp
func (*StructField) GetDeletedAt ¶
func (x *StructField) GetDeletedAt() *deletedAt.DeletedAt
func (*StructField) GetId ¶
func (x *StructField) GetId() uint64
func (*StructField) GetName ¶
func (x *StructField) GetName() string
func (*StructField) GetPId ¶
func (x *StructField) GetPId() uint64
func (*StructField) GetStatus ¶
func (x *StructField) GetStatus() uint32
func (*StructField) GetStructId ¶
func (x *StructField) GetStructId() uint64
func (*StructField) GetType ¶
func (x *StructField) GetType() uint32
func (*StructField) GetUpdatedAt ¶
func (x *StructField) GetUpdatedAt() *timestamp.Timestamp
func (*StructField) ProtoMessage ¶
func (*StructField) ProtoMessage()
func (*StructField) ProtoReflect ¶
func (x *StructField) ProtoReflect() protoreflect.Message
func (*StructField) Reset ¶
func (x *StructField) Reset()
func (*StructField) String ¶
func (x *StructField) String() string
Click to show internal directories.
Click to hide internal directories.