_struct

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetCreatedAt

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

func (*Object) GetDeletedAt

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

func (*Object) GetFieldId

func (x *Object) GetFieldId() string

func (*Object) GetId

func (x *Object) GetId() uint64

func (*Object) GetStatus

func (x *Object) GetStatus() uint32

func (*Object) GetUpdatedAt

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

func (*Object) GetValue

func (x *Object) GetValue() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Struct.ProtoReflect.Descriptor instead.

func (*Struct) GetCreatedAt

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

func (*Struct) GetDeletedAt

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

func (*Struct) GetId

func (x *Struct) GetId() uint64

func (*Struct) GetName

func (x *Struct) GetName() string

func (*Struct) GetStatus

func (x *Struct) GetStatus() uint32

func (*Struct) GetUpdatedAt

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

func (*Struct) ProtoMessage

func (*Struct) ProtoMessage()

func (*Struct) ProtoReflect

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

func (*Struct) Reset

func (x *Struct) Reset()

func (*Struct) String

func (x *Struct) String() string

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

Jump to

Keyboard shortcuts

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