cat

package
v0.0.0-...-0822087 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cat_cat_proto protoreflect.FileDescriptor
View Source
var File_cat_family_tree_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cat

type Cat struct {
	Id            string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	NickName      string          `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nickName,omitempty"`
	Sex           string          `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"`
	BrithDay      *core.Timestamp `protobuf:"bytes,5,opt,name=brith_day,json=brithDay,proto3" json:"brithDay,omitempty"`
	Location      string          `protobuf:"bytes,20,opt,name=location,proto3" json:"location,omitempty"`
	Area          string          `protobuf:"bytes,21,opt,name=area,proto3" json:"area,omitempty"`
	LastFoundTime *core.Timestamp `protobuf:"bytes,25,opt,name=last_found_time,json=lastFoundTime,proto3" json:"lastFoundTime,omitempty"`
	Status        string          `protobuf:"bytes,50,opt,name=status,proto3" json:"status,omitempty"`
	State         string          `protobuf:"bytes,55,opt,name=state,proto3" json:"state,omitempty"`
	CreateTime    *core.Timestamp `protobuf:"bytes,100,opt,name=create_time,json=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime    *core.Timestamp `protobuf:"bytes,101,opt,name=update_time,json=updateTime,proto3" json:"updateTime,omitempty"`
	DeleteTime    *core.Timestamp `protobuf:"bytes,102,opt,name=delete_time,json=deleteTime,proto3" json:"deleteTime,omitempty"`
	// contains filtered or unexported fields
}

func (*Cat) Descriptor deprecated

func (*Cat) Descriptor() ([]byte, []int)

Deprecated: Use Cat.ProtoReflect.Descriptor instead.

func (*Cat) GetArea

func (x *Cat) GetArea() string

func (*Cat) GetBrithDay

func (x *Cat) GetBrithDay() *core.Timestamp

func (*Cat) GetCreateTime

func (x *Cat) GetCreateTime() *core.Timestamp

func (*Cat) GetDeleteTime

func (x *Cat) GetDeleteTime() *core.Timestamp

func (*Cat) GetId

func (x *Cat) GetId() string

func (*Cat) GetLastFoundTime

func (x *Cat) GetLastFoundTime() *core.Timestamp

func (*Cat) GetLocation

func (x *Cat) GetLocation() string

func (*Cat) GetName

func (x *Cat) GetName() string

func (*Cat) GetNickName

func (x *Cat) GetNickName() string

func (*Cat) GetSex

func (x *Cat) GetSex() string

func (*Cat) GetState

func (x *Cat) GetState() string

func (*Cat) GetStatus

func (x *Cat) GetStatus() string

func (*Cat) GetUpdateTime

func (x *Cat) GetUpdateTime() *core.Timestamp

func (*Cat) ProtoMessage

func (*Cat) ProtoMessage()

func (*Cat) ProtoReflect

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

func (*Cat) Reset

func (x *Cat) Reset()

func (*Cat) String

func (x *Cat) String() string

type FamilyTree

type FamilyTree struct {
	CatId    string   `protobuf:"bytes,1,opt,name=cat_id,json=catId,proto3" json:"catId,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	NickName string   `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nickName,omitempty"`
	Sex      string   `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"`
	Ancestor []string `protobuf:"bytes,10,rep,name=ancestor,proto3" json:"ancestor,omitempty"`
	Parent   []string `protobuf:"bytes,20,rep,name=parent,proto3" json:"parent,omitempty"`
	Spouse   []string `protobuf:"bytes,25,rep,name=spouse,proto3" json:"spouse,omitempty"`
	Child    []string `protobuf:"bytes,30,rep,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func (*FamilyTree) Descriptor deprecated

func (*FamilyTree) Descriptor() ([]byte, []int)

Deprecated: Use FamilyTree.ProtoReflect.Descriptor instead.

func (*FamilyTree) GetAncestor

func (x *FamilyTree) GetAncestor() []string

func (*FamilyTree) GetCatId

func (x *FamilyTree) GetCatId() string

func (*FamilyTree) GetChild

func (x *FamilyTree) GetChild() []string

func (*FamilyTree) GetName

func (x *FamilyTree) GetName() string

func (*FamilyTree) GetNickName

func (x *FamilyTree) GetNickName() string

func (*FamilyTree) GetParent

func (x *FamilyTree) GetParent() []string

func (*FamilyTree) GetSex

func (x *FamilyTree) GetSex() string

func (*FamilyTree) GetSpouse

func (x *FamilyTree) GetSpouse() []string

func (*FamilyTree) ProtoMessage

func (*FamilyTree) ProtoMessage()

func (*FamilyTree) ProtoReflect

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

func (*FamilyTree) Reset

func (x *FamilyTree) Reset()

func (*FamilyTree) String

func (x *FamilyTree) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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