Documentation
¶
Index ¶
- Variables
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetCreatedAt() *timestamp.Timestamp
- func (x *Attribute) GetDeletedAt() *deletedAt.DeletedAt
- func (x *Attribute) GetId() uint64
- func (x *Attribute) GetName() string
- func (x *Attribute) GetStatus() uint32
- func (x *Attribute) GetUpdatedAt() *timestamp.Timestamp
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type AttributeValue
- func (*AttributeValue) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeValue) GetAttrId() uint64
- func (x *AttributeValue) GetCreatedAt() *timestamp.Timestamp
- func (x *AttributeValue) GetDeletedAt() *deletedAt.DeletedAt
- func (x *AttributeValue) GetId() uint64
- func (x *AttributeValue) GetStatus() uint32
- func (x *AttributeValue) GetUpdatedAt() *timestamp.Timestamp
- func (x *AttributeValue) GetValue() string
- func (*AttributeValue) ProtoMessage()
- func (x *AttributeValue) ProtoReflect() protoreflect.Message
- func (x *AttributeValue) Reset()
- func (x *AttributeValue) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hopeio_model_attr_attr_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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"`
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 (*Attribute) Descriptor
deprecated
func (*Attribute) GetCreatedAt ¶
func (*Attribute) GetDeletedAt ¶
func (*Attribute) GetUpdatedAt ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type AttributeValue ¶
type AttributeValue struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
AttrId uint64 `protobuf:"varint,2,opt,name=attrId,proto3" json:"attrId,omitempty" gorm:"comment:attrId"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,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 (*AttributeValue) Descriptor
deprecated
func (*AttributeValue) Descriptor() ([]byte, []int)
Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead.
func (*AttributeValue) GetAttrId ¶
func (x *AttributeValue) GetAttrId() uint64
func (*AttributeValue) GetCreatedAt ¶
func (x *AttributeValue) GetCreatedAt() *timestamp.Timestamp
func (*AttributeValue) GetDeletedAt ¶
func (x *AttributeValue) GetDeletedAt() *deletedAt.DeletedAt
func (*AttributeValue) GetId ¶
func (x *AttributeValue) GetId() uint64
func (*AttributeValue) GetStatus ¶
func (x *AttributeValue) GetStatus() uint32
func (*AttributeValue) GetUpdatedAt ¶
func (x *AttributeValue) GetUpdatedAt() *timestamp.Timestamp
func (*AttributeValue) GetValue ¶
func (x *AttributeValue) GetValue() string
func (*AttributeValue) ProtoMessage ¶
func (*AttributeValue) ProtoMessage()
func (*AttributeValue) ProtoReflect ¶
func (x *AttributeValue) ProtoReflect() protoreflect.Message
func (*AttributeValue) Reset ¶
func (x *AttributeValue) Reset()
func (*AttributeValue) String ¶
func (x *AttributeValue) String() string
Click to show internal directories.
Click to hide internal directories.