system

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RoleType_name = map[int32]string{
		0: "TypeUnknown",
		1: "TypeNormalUser",
		2: "TypeCommunityAdmin",
		3: "TypeSuperAdmin",
		4: "TypeDeveloper",
	}
	RoleType_value = map[string]int32{
		"TypeUnknown":        0,
		"TypeNormalUser":     1,
		"TypeCommunityAdmin": 2,
		"TypeSuperAdmin":     3,
		"TypeDeveloper":      4,
	}
)

Enum value maps for RoleType.

View Source
var (
	ApplyStatus_name = map[int32]string{
		0: "StatusUnknown",
		1: "StatusUnprocessed",
		2: "StatusAccepted",
		3: "StatusRejected",
	}
	ApplyStatus_value = map[string]int32{
		"StatusUnknown":     0,
		"StatusUnprocessed": 1,
		"StatusAccepted":    2,
		"StatusRejected":    3,
	}
)

Enum value maps for ApplyStatus.

View Source
var File_meowchat_system_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"`
	Title       string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"`
	Phone       string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty" form:"phone" query:"phone"`
	Wechat      string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat,omitempty" form:"wechat" query:"wechat"`
	AvatarUrl   string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty" form:"avatarUrl" query:"avatarUrl"`
	// contains filtered or unexported fields
}

func (*Admin) Descriptor deprecated

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

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetAvatarUrl

func (x *Admin) GetAvatarUrl() string

func (*Admin) GetCommunityId

func (x *Admin) GetCommunityId() string

func (*Admin) GetId

func (x *Admin) GetId() string

func (*Admin) GetName

func (x *Admin) GetName() string

func (*Admin) GetPhone

func (x *Admin) GetPhone() string

func (*Admin) GetTitle

func (x *Admin) GetTitle() string

func (*Admin) GetWechat

func (x *Admin) GetWechat() string

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

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

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

type Apply

type Apply struct {
	ApplyId     string `protobuf:"bytes,1,opt,name=applyId,proto3" json:"applyId,omitempty" form:"applyId" query:"applyId"`
	ApplicantId string `protobuf:"bytes,2,opt,name=applicantId,proto3" json:"applicantId,omitempty" form:"applicantId" query:"applicantId"`
	CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	// contains filtered or unexported fields
}

func (*Apply) Descriptor deprecated

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

Deprecated: Use Apply.ProtoReflect.Descriptor instead.

func (*Apply) GetApplicantId

func (x *Apply) GetApplicantId() string

func (*Apply) GetApplyId

func (x *Apply) GetApplyId() string

func (*Apply) GetCommunityId

func (x *Apply) GetCommunityId() string

func (*Apply) ProtoMessage

func (*Apply) ProtoMessage()

func (*Apply) ProtoReflect

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

func (*Apply) Reset

func (x *Apply) Reset()

func (*Apply) String

func (x *Apply) String() string

type ApplyStatus

type ApplyStatus int32
const (
	ApplyStatus_StatusUnknown     ApplyStatus = 0
	ApplyStatus_StatusUnprocessed ApplyStatus = 1
	ApplyStatus_StatusAccepted    ApplyStatus = 2
	ApplyStatus_StatusRejected    ApplyStatus = 3
)

func (ApplyStatus) Descriptor

func (ApplyStatus) Enum

func (x ApplyStatus) Enum() *ApplyStatus

func (ApplyStatus) EnumDescriptor deprecated

func (ApplyStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplyStatus.Descriptor instead.

func (ApplyStatus) Number

func (x ApplyStatus) Number() protoreflect.EnumNumber

func (ApplyStatus) String

func (x ApplyStatus) String() string

func (ApplyStatus) Type

type Community

type Community struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"`
	ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty" form:"parentId" query:"parentId"`
	// contains filtered or unexported fields
}

func (*Community) Descriptor deprecated

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

Deprecated: Use Community.ProtoReflect.Descriptor instead.

func (*Community) GetId

func (x *Community) GetId() string

func (*Community) GetName

func (x *Community) GetName() string

func (*Community) GetParentId

func (x *Community) GetParentId() string

func (*Community) ProtoMessage

func (*Community) ProtoMessage()

func (*Community) ProtoReflect

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

func (*Community) Reset

func (x *Community) Reset()

func (*Community) String

func (x *Community) String() string

type News

type News struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	ImageUrl    string `protobuf:"bytes,3,opt,name=imageUrl,proto3" json:"imageUrl,omitempty" form:"imageUrl" query:"imageUrl"`
	LinkUrl     string `protobuf:"bytes,4,opt,name=linkUrl,proto3" json:"linkUrl,omitempty" form:"linkUrl" query:"linkUrl"`
	Type        string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" form:"type" query:"type"`
	// contains filtered or unexported fields
}

func (*News) Descriptor deprecated

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

Deprecated: Use News.ProtoReflect.Descriptor instead.

func (*News) GetCommunityId

func (x *News) GetCommunityId() string

func (*News) GetId

func (x *News) GetId() string

func (*News) GetImageUrl

func (x *News) GetImageUrl() string

func (*News) GetLinkUrl

func (x *News) GetLinkUrl() string

func (*News) GetType

func (x *News) GetType() string

func (*News) ProtoMessage

func (*News) ProtoMessage()

func (*News) ProtoReflect

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

func (*News) Reset

func (x *News) Reset()

func (*News) String

func (x *News) String() string

type Notice

type Notice struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	Text        string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"`
	CreateAt    int64  `protobuf:"varint,4,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"`
	UpdateAt    int64  `protobuf:"varint,5,opt,name=updateAt,proto3" json:"updateAt,omitempty" form:"updateAt" query:"updateAt"`
	// contains filtered or unexported fields
}

func (*Notice) Descriptor deprecated

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

Deprecated: Use Notice.ProtoReflect.Descriptor instead.

func (*Notice) GetCommunityId

func (x *Notice) GetCommunityId() string

func (*Notice) GetCreateAt

func (x *Notice) GetCreateAt() int64

func (*Notice) GetId

func (x *Notice) GetId() string

func (*Notice) GetText

func (x *Notice) GetText() string

func (*Notice) GetUpdateAt

func (x *Notice) GetUpdateAt() int64

func (*Notice) ProtoMessage

func (*Notice) ProtoMessage()

func (*Notice) ProtoReflect

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

func (*Notice) Reset

func (x *Notice) Reset()

func (*Notice) String

func (x *Notice) String() string

type Role

type Role struct {
	RoleType    RoleType `` /* 133-byte string literal not displayed */
	CommunityId *string  `protobuf:"bytes,2,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCommunityId

func (x *Role) GetCommunityId() string

func (*Role) GetRoleType

func (x *Role) GetRoleType() RoleType

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleType

type RoleType int32
const (
	RoleType_TypeUnknown        RoleType = 0
	RoleType_TypeNormalUser     RoleType = 1
	RoleType_TypeCommunityAdmin RoleType = 2
	RoleType_TypeSuperAdmin     RoleType = 3
	RoleType_TypeDeveloper      RoleType = 4
)

func (RoleType) Descriptor

func (RoleType) Descriptor() protoreflect.EnumDescriptor

func (RoleType) Enum

func (x RoleType) Enum() *RoleType

func (RoleType) EnumDescriptor deprecated

func (RoleType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoleType.Descriptor instead.

func (RoleType) Number

func (x RoleType) Number() protoreflect.EnumNumber

func (RoleType) String

func (x RoleType) String() string

func (RoleType) Type

Jump to

Keyboard shortcuts

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