service_pb

package
v0.0.0-...-861475b Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PerformanceService_PerformanceAdd_FullMethodName      = "/service.PerformanceService/PerformanceAdd"
	PerformanceService_PerformanceUpdate_FullMethodName   = "/service.PerformanceService/PerformanceUpdate"
	PerformanceService_PerformanceRetrieve_FullMethodName = "/service.PerformanceService/PerformanceRetrieve"
	PerformanceService_PerformanceRemove_FullMethodName   = "/service.PerformanceService/PerformanceRemove"
)
View Source
const (
	OrderService_OrderAdd_FullMethodName      = "/service.OrderService/OrderAdd"
	OrderService_OrderUpdate_FullMethodName   = "/service.OrderService/OrderUpdate"
	OrderService_OrderRetrieve_FullMethodName = "/service.OrderService/OrderRetrieve"
	OrderService_OrderRemove_FullMethodName   = "/service.OrderService/OrderRemove"
)
View Source
const (
	PerformanceSeatService_PerformanceSeatAdd_FullMethodName      = "/service.PerformanceSeatService/PerformanceSeatAdd"
	PerformanceSeatService_PerformanceSeatUpdate_FullMethodName   = "/service.PerformanceSeatService/PerformanceSeatUpdate"
	PerformanceSeatService_PerformanceSeatRetrieve_FullMethodName = "/service.PerformanceSeatService/PerformanceSeatRetrieve"
	PerformanceSeatService_PerformanceSeatRemove_FullMethodName   = "/service.PerformanceSeatService/PerformanceSeatRemove"
)
View Source
const (
	PerformanceSessionService_PerformanceSessionAdd_FullMethodName      = "/service.PerformanceSessionService/PerformanceSessionAdd"
	PerformanceSessionService_PerformanceSessionUpdate_FullMethodName   = "/service.PerformanceSessionService/PerformanceSessionUpdate"
	PerformanceSessionService_PerformanceSessionRetrieve_FullMethodName = "/service.PerformanceSessionService/PerformanceSessionRetrieve"
	PerformanceSessionService_PerformanceSessionRemove_FullMethodName   = "/service.PerformanceSessionService/PerformanceSessionRemove"
)
View Source
const (
	UserService_UserAdd_FullMethodName      = "/service.UserService/UserAdd"
	UserService_UserUpdate_FullMethodName   = "/service.UserService/UserUpdate"
	UserService_UserRetrieve_FullMethodName = "/service.UserService/UserRetrieve"
	UserService_UserRemove_FullMethodName   = "/service.UserService/UserRemove"
)
View Source
const (
	Service_Login_FullMethodName = "/service.Service/Login"
)

Variables

View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var OrderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.OrderService",
	HandlerType: (*OrderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OrderAdd",
			Handler:    _OrderService_OrderAdd_Handler,
		},
		{
			MethodName: "OrderUpdate",
			Handler:    _OrderService_OrderUpdate_Handler,
		},
		{
			MethodName: "OrderRetrieve",
			Handler:    _OrderService_OrderRetrieve_Handler,
		},
		{
			MethodName: "OrderRemove",
			Handler:    _OrderService_OrderRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

OrderService_ServiceDesc is the grpc.ServiceDesc for OrderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PerformanceSeatService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.PerformanceSeatService",
	HandlerType: (*PerformanceSeatServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PerformanceSeatAdd",
			Handler:    _PerformanceSeatService_PerformanceSeatAdd_Handler,
		},
		{
			MethodName: "PerformanceSeatUpdate",
			Handler:    _PerformanceSeatService_PerformanceSeatUpdate_Handler,
		},
		{
			MethodName: "PerformanceSeatRetrieve",
			Handler:    _PerformanceSeatService_PerformanceSeatRetrieve_Handler,
		},
		{
			MethodName: "PerformanceSeatRemove",
			Handler:    _PerformanceSeatService_PerformanceSeatRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

PerformanceSeatService_ServiceDesc is the grpc.ServiceDesc for PerformanceSeatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PerformanceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.PerformanceService",
	HandlerType: (*PerformanceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PerformanceAdd",
			Handler:    _PerformanceService_PerformanceAdd_Handler,
		},
		{
			MethodName: "PerformanceUpdate",
			Handler:    _PerformanceService_PerformanceUpdate_Handler,
		},
		{
			MethodName: "PerformanceRetrieve",
			Handler:    _PerformanceService_PerformanceRetrieve_Handler,
		},
		{
			MethodName: "PerformanceRemove",
			Handler:    _PerformanceService_PerformanceRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

PerformanceService_ServiceDesc is the grpc.ServiceDesc for PerformanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PerformanceSessionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.PerformanceSessionService",
	HandlerType: (*PerformanceSessionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PerformanceSessionAdd",
			Handler:    _PerformanceSessionService_PerformanceSessionAdd_Handler,
		},
		{
			MethodName: "PerformanceSessionUpdate",
			Handler:    _PerformanceSessionService_PerformanceSessionUpdate_Handler,
		},
		{
			MethodName: "PerformanceSessionRetrieve",
			Handler:    _PerformanceSessionService_PerformanceSessionRetrieve_Handler,
		},
		{
			MethodName: "PerformanceSessionRemove",
			Handler:    _PerformanceSessionService_PerformanceSessionRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

PerformanceSessionService_ServiceDesc is the grpc.ServiceDesc for PerformanceSessionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _Service_Login_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserAdd",
			Handler:    _UserService_UserAdd_Handler,
		},
		{
			MethodName: "UserUpdate",
			Handler:    _UserService_UserUpdate_Handler,
		},
		{
			MethodName: "UserRetrieve",
			Handler:    _UserService_UserRetrieve_Handler,
		},
		{
			MethodName: "UserRemove",
			Handler:    _UserService_UserRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOrderServiceServer

func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)

func RegisterPerformanceSeatServiceServer

func RegisterPerformanceSeatServiceServer(s grpc.ServiceRegistrar, srv PerformanceSeatServiceServer)

func RegisterPerformanceServiceServer

func RegisterPerformanceServiceServer(s grpc.ServiceRegistrar, srv PerformanceServiceServer)

func RegisterPerformanceSessionServiceServer

func RegisterPerformanceSessionServiceServer(s grpc.ServiceRegistrar, srv PerformanceSessionServiceServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type EmptyResp

type EmptyResp struct {
	// contains filtered or unexported fields
}

公共

func (*EmptyResp) Descriptor deprecated

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

Deprecated: Use EmptyResp.ProtoReflect.Descriptor instead.

func (*EmptyResp) ProtoMessage

func (*EmptyResp) ProtoMessage()

func (*EmptyResp) ProtoReflect

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

func (*EmptyResp) Reset

func (x *EmptyResp) Reset()

func (*EmptyResp) String

func (x *EmptyResp) String() string

type FilterItem

type FilterItem struct {
	Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*FilterItem) Descriptor deprecated

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

Deprecated: Use FilterItem.ProtoReflect.Descriptor instead.

func (*FilterItem) GetField

func (x *FilterItem) GetField() string

func (*FilterItem) GetValue

func (x *FilterItem) GetValue() string

func (*FilterItem) ProtoMessage

func (*FilterItem) ProtoMessage()

func (*FilterItem) ProtoReflect

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

func (*FilterItem) Reset

func (x *FilterItem) Reset()

func (*FilterItem) String

func (x *FilterItem) String() string

type LoginReq

type LoginReq struct {
	Mobile    string `protobuf:"bytes,1,opt,name=Mobile,proto3" json:"Mobile,omitempty"`        // 账号
	Password  string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`    // 账户密码
	Code      string `protobuf:"bytes,3,opt,name=Code,proto3" json:"Code,omitempty"`            // 手机验证码
	LoginType int64  `protobuf:"varint,4,opt,name=LoginType,proto3" json:"LoginType,omitempty"` // 登录类型:1=验证码、2=密码、3=支付宝、4=淘宝、5=微信、6=新浪、7=QQ
	// contains filtered or unexported fields
}

Login 登录

func (*LoginReq) Descriptor deprecated

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

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetCode

func (x *LoginReq) GetCode() string

func (*LoginReq) GetLoginType

func (x *LoginReq) GetLoginType() int64

func (*LoginReq) GetMobile

func (x *LoginReq) GetMobile() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

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

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginResp

type LoginResp struct {
	ID       int64  `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`             // 用户ID
	Name     string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`          // 用户名
	Token    string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"`        // Jwt Token
	ExpireAt int64  `protobuf:"varint,4,opt,name=ExpireAt,proto3" json:"ExpireAt,omitempty"` // 认证过期时间
	// contains filtered or unexported fields
}

func (*LoginResp) Descriptor deprecated

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

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetExpireAt

func (x *LoginResp) GetExpireAt() int64

func (*LoginResp) GetID

func (x *LoginResp) GetID() int64

func (*LoginResp) GetName

func (x *LoginResp) GetName() string

func (*LoginResp) GetToken

func (x *LoginResp) GetToken() string

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

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

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string

type Order

type Order struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	CreatedAt  int64  `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间
	UpdatedAt  int64  `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间
	IsDel      int64  `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"`         // 是否删除: 0=未指定、1=是、2=否: 默认=2
	// contains filtered or unexported fields
}

订单表

func (*Order) Descriptor deprecated

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

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetAddress

func (x *Order) GetAddress() string

func (*Order) GetAudience

func (x *Order) GetAudience() string

func (*Order) GetAvatar

func (x *Order) GetAvatar() string

func (*Order) GetBackground

func (x *Order) GetBackground() string

func (*Order) GetBirthday

func (x *Order) GetBirthday() int64

func (*Order) GetCreatedAt

func (x *Order) GetCreatedAt() int64

func (*Order) GetGender

func (x *Order) GetGender() int64

func (*Order) GetId

func (x *Order) GetId() int64

func (*Order) GetIdentity

func (x *Order) GetIdentity() string

func (*Order) GetIsDel

func (x *Order) GetIsDel() int64

func (*Order) GetLoginAt

func (x *Order) GetLoginAt() int64

func (*Order) GetMail

func (x *Order) GetMail() string

func (*Order) GetMobile

func (x *Order) GetMobile() string

func (*Order) GetName

func (x *Order) GetName() string

func (*Order) GetNation

func (x *Order) GetNation() string

func (*Order) GetNickname

func (x *Order) GetNickname() string

func (*Order) GetPassword

func (x *Order) GetPassword() string

func (*Order) GetStatus

func (x *Order) GetStatus() int64

func (*Order) GetUpdatedAt

func (x *Order) GetUpdatedAt() int64

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

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

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type OrderAddReq

type OrderAddReq struct {
	Name       string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"`        // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

OrderAdd 订单表 创建

func (*OrderAddReq) Descriptor deprecated

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

Deprecated: Use OrderAddReq.ProtoReflect.Descriptor instead.

func (*OrderAddReq) GetAddress

func (x *OrderAddReq) GetAddress() string

func (*OrderAddReq) GetAudience

func (x *OrderAddReq) GetAudience() string

func (*OrderAddReq) GetAvatar

func (x *OrderAddReq) GetAvatar() string

func (*OrderAddReq) GetBackground

func (x *OrderAddReq) GetBackground() string

func (*OrderAddReq) GetBirthday

func (x *OrderAddReq) GetBirthday() int64

func (*OrderAddReq) GetGender

func (x *OrderAddReq) GetGender() int64

func (*OrderAddReq) GetIdentity

func (x *OrderAddReq) GetIdentity() string

func (*OrderAddReq) GetLoginAt

func (x *OrderAddReq) GetLoginAt() int64

func (*OrderAddReq) GetMail

func (x *OrderAddReq) GetMail() string

func (*OrderAddReq) GetMobile

func (x *OrderAddReq) GetMobile() string

func (*OrderAddReq) GetName

func (x *OrderAddReq) GetName() string

func (*OrderAddReq) GetNation

func (x *OrderAddReq) GetNation() string

func (*OrderAddReq) GetNickname

func (x *OrderAddReq) GetNickname() string

func (*OrderAddReq) GetPassword

func (x *OrderAddReq) GetPassword() string

func (*OrderAddReq) GetStatus

func (x *OrderAddReq) GetStatus() int64

func (*OrderAddReq) ProtoMessage

func (*OrderAddReq) ProtoMessage()

func (*OrderAddReq) ProtoReflect

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

func (*OrderAddReq) Reset

func (x *OrderAddReq) Reset()

func (*OrderAddReq) String

func (x *OrderAddReq) String() string

type OrderAddResp

type OrderAddResp struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

func (*OrderAddResp) Descriptor deprecated

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

Deprecated: Use OrderAddResp.ProtoReflect.Descriptor instead.

func (*OrderAddResp) GetId

func (x *OrderAddResp) GetId() int64

func (*OrderAddResp) ProtoMessage

func (*OrderAddResp) ProtoMessage()

func (*OrderAddResp) ProtoReflect

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

func (*OrderAddResp) Reset

func (x *OrderAddResp) Reset()

func (*OrderAddResp) String

func (x *OrderAddResp) String() string

type OrderRemoveReq

type OrderRemoveReq struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

OrderRemove 订单表 删除

func (*OrderRemoveReq) Descriptor deprecated

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

Deprecated: Use OrderRemoveReq.ProtoReflect.Descriptor instead.

func (*OrderRemoveReq) GetId

func (x *OrderRemoveReq) GetId() int64

func (*OrderRemoveReq) ProtoMessage

func (*OrderRemoveReq) ProtoMessage()

func (*OrderRemoveReq) ProtoReflect

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

func (*OrderRemoveReq) Reset

func (x *OrderRemoveReq) Reset()

func (*OrderRemoveReq) String

func (x *OrderRemoveReq) String() string

type OrderRetrieveReq

type OrderRetrieveReq struct {
	Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"`
	// contains filtered or unexported fields
}

OrderRetrieve 订单表 获取

func (*OrderRetrieveReq) Descriptor deprecated

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

Deprecated: Use OrderRetrieveReq.ProtoReflect.Descriptor instead.

func (*OrderRetrieveReq) GetPaging

func (x *OrderRetrieveReq) GetPaging() *Paging

func (*OrderRetrieveReq) ProtoMessage

func (*OrderRetrieveReq) ProtoMessage()

func (*OrderRetrieveReq) ProtoReflect

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

func (*OrderRetrieveReq) Reset

func (x *OrderRetrieveReq) Reset()

func (*OrderRetrieveReq) String

func (x *OrderRetrieveReq) String() string

type OrderRetrieveResp

type OrderRetrieveResp struct {
	Total int64    `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数
	Data  []*Order `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`    // 数据列表
	// contains filtered or unexported fields
}

func (*OrderRetrieveResp) Descriptor deprecated

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

Deprecated: Use OrderRetrieveResp.ProtoReflect.Descriptor instead.

func (*OrderRetrieveResp) GetData

func (x *OrderRetrieveResp) GetData() []*Order

func (*OrderRetrieveResp) GetTotal

func (x *OrderRetrieveResp) GetTotal() int64

func (*OrderRetrieveResp) ProtoMessage

func (*OrderRetrieveResp) ProtoMessage()

func (*OrderRetrieveResp) ProtoReflect

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

func (*OrderRetrieveResp) Reset

func (x *OrderRetrieveResp) Reset()

func (*OrderRetrieveResp) String

func (x *OrderRetrieveResp) String() string

type OrderServiceClient

type OrderServiceClient interface {
	// OrderAdd 订单表 创建
	OrderAdd(ctx context.Context, in *OrderAddReq, opts ...grpc.CallOption) (*OrderAddResp, error)
	// OrderUpdate 订单表 更新
	OrderUpdate(ctx context.Context, in *OrderUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// OrderRetrieve 订单表 获取
	OrderRetrieve(ctx context.Context, in *OrderRetrieveReq, opts ...grpc.CallOption) (*OrderRetrieveResp, error)
	// OrderRemove 订单表 删除
	OrderRemove(ctx context.Context, in *OrderRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error)
}

OrderServiceClient is the client API for OrderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OrderServiceServer

type OrderServiceServer interface {
	// OrderAdd 订单表 创建
	OrderAdd(context.Context, *OrderAddReq) (*OrderAddResp, error)
	// OrderUpdate 订单表 更新
	OrderUpdate(context.Context, *OrderUpdateReq) (*EmptyResp, error)
	// OrderRetrieve 订单表 获取
	OrderRetrieve(context.Context, *OrderRetrieveReq) (*OrderRetrieveResp, error)
	// OrderRemove 订单表 删除
	OrderRemove(context.Context, *OrderRemoveReq) (*EmptyResp, error)
	// contains filtered or unexported methods
}

OrderServiceServer is the server API for OrderService service. All implementations must embed UnimplementedOrderServiceServer for forward compatibility

type OrderUpdateReq

type OrderUpdateReq struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

OrderUpdate 订单表 更新

func (*OrderUpdateReq) Descriptor deprecated

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

Deprecated: Use OrderUpdateReq.ProtoReflect.Descriptor instead.

func (*OrderUpdateReq) GetAddress

func (x *OrderUpdateReq) GetAddress() string

func (*OrderUpdateReq) GetAudience

func (x *OrderUpdateReq) GetAudience() string

func (*OrderUpdateReq) GetAvatar

func (x *OrderUpdateReq) GetAvatar() string

func (*OrderUpdateReq) GetBackground

func (x *OrderUpdateReq) GetBackground() string

func (*OrderUpdateReq) GetBirthday

func (x *OrderUpdateReq) GetBirthday() int64

func (*OrderUpdateReq) GetGender

func (x *OrderUpdateReq) GetGender() int64

func (*OrderUpdateReq) GetId

func (x *OrderUpdateReq) GetId() int64

func (*OrderUpdateReq) GetIdentity

func (x *OrderUpdateReq) GetIdentity() string

func (*OrderUpdateReq) GetLoginAt

func (x *OrderUpdateReq) GetLoginAt() int64

func (*OrderUpdateReq) GetMail

func (x *OrderUpdateReq) GetMail() string

func (*OrderUpdateReq) GetMobile

func (x *OrderUpdateReq) GetMobile() string

func (*OrderUpdateReq) GetName

func (x *OrderUpdateReq) GetName() string

func (*OrderUpdateReq) GetNation

func (x *OrderUpdateReq) GetNation() string

func (*OrderUpdateReq) GetNickname

func (x *OrderUpdateReq) GetNickname() string

func (*OrderUpdateReq) GetPassword

func (x *OrderUpdateReq) GetPassword() string

func (*OrderUpdateReq) GetStatus

func (x *OrderUpdateReq) GetStatus() int64

func (*OrderUpdateReq) ProtoMessage

func (*OrderUpdateReq) ProtoMessage()

func (*OrderUpdateReq) ProtoReflect

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

func (*OrderUpdateReq) Reset

func (x *OrderUpdateReq) Reset()

func (*OrderUpdateReq) String

func (x *OrderUpdateReq) String() string

type Paging

type Paging struct {
	Page     int64         `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`         // 页码
	PageSize int64         `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 页面数量
	Filter   []*FilterItem `protobuf:"bytes,3,rep,name=Filter,proto3" json:"Filter,omitempty"`      // 过滤条件
	Sort     []*SortItem   `protobuf:"bytes,4,rep,name=Sort,proto3" json:"Sort,omitempty"`          // 排序条件
	// contains filtered or unexported fields
}

func (*Paging) Descriptor deprecated

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

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) GetFilter

func (x *Paging) GetFilter() []*FilterItem

func (*Paging) GetPage

func (x *Paging) GetPage() int64

func (*Paging) GetPageSize

func (x *Paging) GetPageSize() int64

func (*Paging) GetSort

func (x *Paging) GetSort() []*SortItem

func (*Paging) ProtoMessage

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect

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

func (*Paging) Reset

func (x *Paging) Reset()

func (*Paging) String

func (x *Paging) String() string

type Performance

type Performance struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	CreatedAt  int64  `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间
	UpdatedAt  int64  `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间
	IsDel      int64  `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"`         // 是否删除: 0=未指定、1=是、2=否: 默认=2
	// contains filtered or unexported fields
}

演出活动表

func (*Performance) Descriptor deprecated

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

Deprecated: Use Performance.ProtoReflect.Descriptor instead.

func (*Performance) GetAddress

func (x *Performance) GetAddress() string

func (*Performance) GetAudience

func (x *Performance) GetAudience() string

func (*Performance) GetAvatar

func (x *Performance) GetAvatar() string

func (*Performance) GetBackground

func (x *Performance) GetBackground() string

func (*Performance) GetBirthday

func (x *Performance) GetBirthday() int64

func (*Performance) GetCreatedAt

func (x *Performance) GetCreatedAt() int64

func (*Performance) GetGender

func (x *Performance) GetGender() int64

func (*Performance) GetId

func (x *Performance) GetId() int64

func (*Performance) GetIdentity

func (x *Performance) GetIdentity() string

func (*Performance) GetIsDel

func (x *Performance) GetIsDel() int64

func (*Performance) GetLoginAt

func (x *Performance) GetLoginAt() int64

func (*Performance) GetMail

func (x *Performance) GetMail() string

func (*Performance) GetMobile

func (x *Performance) GetMobile() string

func (*Performance) GetName

func (x *Performance) GetName() string

func (*Performance) GetNation

func (x *Performance) GetNation() string

func (*Performance) GetNickname

func (x *Performance) GetNickname() string

func (*Performance) GetPassword

func (x *Performance) GetPassword() string

func (*Performance) GetStatus

func (x *Performance) GetStatus() int64

func (*Performance) GetUpdatedAt

func (x *Performance) GetUpdatedAt() int64

func (*Performance) ProtoMessage

func (*Performance) ProtoMessage()

func (*Performance) ProtoReflect

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

func (*Performance) Reset

func (x *Performance) Reset()

func (*Performance) String

func (x *Performance) String() string

type PerformanceAddReq

type PerformanceAddReq struct {
	Name       string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"`        // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

PerformanceAdd 演出活动表 创建

func (*PerformanceAddReq) Descriptor deprecated

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

Deprecated: Use PerformanceAddReq.ProtoReflect.Descriptor instead.

func (*PerformanceAddReq) GetAddress

func (x *PerformanceAddReq) GetAddress() string

func (*PerformanceAddReq) GetAudience

func (x *PerformanceAddReq) GetAudience() string

func (*PerformanceAddReq) GetAvatar

func (x *PerformanceAddReq) GetAvatar() string

func (*PerformanceAddReq) GetBackground

func (x *PerformanceAddReq) GetBackground() string

func (*PerformanceAddReq) GetBirthday

func (x *PerformanceAddReq) GetBirthday() int64

func (*PerformanceAddReq) GetGender

func (x *PerformanceAddReq) GetGender() int64

func (*PerformanceAddReq) GetIdentity

func (x *PerformanceAddReq) GetIdentity() string

func (*PerformanceAddReq) GetLoginAt

func (x *PerformanceAddReq) GetLoginAt() int64

func (*PerformanceAddReq) GetMail

func (x *PerformanceAddReq) GetMail() string

func (*PerformanceAddReq) GetMobile

func (x *PerformanceAddReq) GetMobile() string

func (*PerformanceAddReq) GetName

func (x *PerformanceAddReq) GetName() string

func (*PerformanceAddReq) GetNation

func (x *PerformanceAddReq) GetNation() string

func (*PerformanceAddReq) GetNickname

func (x *PerformanceAddReq) GetNickname() string

func (*PerformanceAddReq) GetPassword

func (x *PerformanceAddReq) GetPassword() string

func (*PerformanceAddReq) GetStatus

func (x *PerformanceAddReq) GetStatus() int64

func (*PerformanceAddReq) ProtoMessage

func (*PerformanceAddReq) ProtoMessage()

func (*PerformanceAddReq) ProtoReflect

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

func (*PerformanceAddReq) Reset

func (x *PerformanceAddReq) Reset()

func (*PerformanceAddReq) String

func (x *PerformanceAddReq) String() string

type PerformanceAddResp

type PerformanceAddResp struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

func (*PerformanceAddResp) Descriptor deprecated

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

Deprecated: Use PerformanceAddResp.ProtoReflect.Descriptor instead.

func (*PerformanceAddResp) GetId

func (x *PerformanceAddResp) GetId() int64

func (*PerformanceAddResp) ProtoMessage

func (*PerformanceAddResp) ProtoMessage()

func (*PerformanceAddResp) ProtoReflect

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

func (*PerformanceAddResp) Reset

func (x *PerformanceAddResp) Reset()

func (*PerformanceAddResp) String

func (x *PerformanceAddResp) String() string

type PerformanceRemoveReq

type PerformanceRemoveReq struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

PerformanceRemove 演出活动表 删除

func (*PerformanceRemoveReq) Descriptor deprecated

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

Deprecated: Use PerformanceRemoveReq.ProtoReflect.Descriptor instead.

func (*PerformanceRemoveReq) GetId

func (x *PerformanceRemoveReq) GetId() int64

func (*PerformanceRemoveReq) ProtoMessage

func (*PerformanceRemoveReq) ProtoMessage()

func (*PerformanceRemoveReq) ProtoReflect

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

func (*PerformanceRemoveReq) Reset

func (x *PerformanceRemoveReq) Reset()

func (*PerformanceRemoveReq) String

func (x *PerformanceRemoveReq) String() string

type PerformanceRetrieveReq

type PerformanceRetrieveReq struct {
	Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"`
	// contains filtered or unexported fields
}

PerformanceRetrieve 演出活动表 获取

func (*PerformanceRetrieveReq) Descriptor deprecated

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

Deprecated: Use PerformanceRetrieveReq.ProtoReflect.Descriptor instead.

func (*PerformanceRetrieveReq) GetPaging

func (x *PerformanceRetrieveReq) GetPaging() *Paging

func (*PerformanceRetrieveReq) ProtoMessage

func (*PerformanceRetrieveReq) ProtoMessage()

func (*PerformanceRetrieveReq) ProtoReflect

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

func (*PerformanceRetrieveReq) Reset

func (x *PerformanceRetrieveReq) Reset()

func (*PerformanceRetrieveReq) String

func (x *PerformanceRetrieveReq) String() string

type PerformanceRetrieveResp

type PerformanceRetrieveResp struct {
	Total int64          `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数
	Data  []*Performance `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`    // 数据列表
	// contains filtered or unexported fields
}

func (*PerformanceRetrieveResp) Descriptor deprecated

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

Deprecated: Use PerformanceRetrieveResp.ProtoReflect.Descriptor instead.

func (*PerformanceRetrieveResp) GetData

func (x *PerformanceRetrieveResp) GetData() []*Performance

func (*PerformanceRetrieveResp) GetTotal

func (x *PerformanceRetrieveResp) GetTotal() int64

func (*PerformanceRetrieveResp) ProtoMessage

func (*PerformanceRetrieveResp) ProtoMessage()

func (*PerformanceRetrieveResp) ProtoReflect

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

func (*PerformanceRetrieveResp) Reset

func (x *PerformanceRetrieveResp) Reset()

func (*PerformanceRetrieveResp) String

func (x *PerformanceRetrieveResp) String() string

type PerformanceSeat

type PerformanceSeat struct {
	Id        int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`               // ID
	SessionId int64  `protobuf:"varint,2,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID
	Seat      string `protobuf:"bytes,3,opt,name=Seat,proto3" json:"Seat,omitempty"`            // 席位,对应演出活动场次表中的席位
	Row       int64  `protobuf:"varint,4,opt,name=Row,proto3" json:"Row,omitempty"`             // 座位所在行
	Col       int64  `protobuf:"varint,5,opt,name=Col,proto3" json:"Col,omitempty"`             // 座位所在列
	Status    int64  `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"`       // 预定状态:1=已预定、2=未预定:默认=2
	CreatedAt int64  `protobuf:"varint,7,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间
	UpdatedAt int64  `protobuf:"varint,8,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间
	IsDel     int64  `protobuf:"varint,9,opt,name=IsDel,proto3" json:"IsDel,omitempty"`         // 是否删除: 0=未指定、1=是、2=否: 默认=2
	// contains filtered or unexported fields
}

演出活动场次座位表

func (*PerformanceSeat) Descriptor deprecated

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

Deprecated: Use PerformanceSeat.ProtoReflect.Descriptor instead.

func (*PerformanceSeat) GetCol

func (x *PerformanceSeat) GetCol() int64

func (*PerformanceSeat) GetCreatedAt

func (x *PerformanceSeat) GetCreatedAt() int64

func (*PerformanceSeat) GetId

func (x *PerformanceSeat) GetId() int64

func (*PerformanceSeat) GetIsDel

func (x *PerformanceSeat) GetIsDel() int64

func (*PerformanceSeat) GetRow

func (x *PerformanceSeat) GetRow() int64

func (*PerformanceSeat) GetSeat

func (x *PerformanceSeat) GetSeat() string

func (*PerformanceSeat) GetSessionId

func (x *PerformanceSeat) GetSessionId() int64

func (*PerformanceSeat) GetStatus

func (x *PerformanceSeat) GetStatus() int64

func (*PerformanceSeat) GetUpdatedAt

func (x *PerformanceSeat) GetUpdatedAt() int64

func (*PerformanceSeat) ProtoMessage

func (*PerformanceSeat) ProtoMessage()

func (*PerformanceSeat) ProtoReflect

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

func (*PerformanceSeat) Reset

func (x *PerformanceSeat) Reset()

func (*PerformanceSeat) String

func (x *PerformanceSeat) String() string

type PerformanceSeatAddReq

type PerformanceSeatAddReq struct {
	SessionId int64  `protobuf:"varint,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID
	Seat      string `protobuf:"bytes,2,opt,name=Seat,proto3" json:"Seat,omitempty"`            // 席位,对应演出活动场次表中的席位
	Row       int64  `protobuf:"varint,3,opt,name=Row,proto3" json:"Row,omitempty"`             // 座位所在行
	Col       int64  `protobuf:"varint,4,opt,name=Col,proto3" json:"Col,omitempty"`             // 座位所在列
	Status    int64  `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"`       // 预定状态:1=已预定、2=未预定:默认=2
	// contains filtered or unexported fields
}

PerformanceSeatAdd 演出活动场次座位表 创建

func (*PerformanceSeatAddReq) Descriptor deprecated

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

Deprecated: Use PerformanceSeatAddReq.ProtoReflect.Descriptor instead.

func (*PerformanceSeatAddReq) GetCol

func (x *PerformanceSeatAddReq) GetCol() int64

func (*PerformanceSeatAddReq) GetRow

func (x *PerformanceSeatAddReq) GetRow() int64

func (*PerformanceSeatAddReq) GetSeat

func (x *PerformanceSeatAddReq) GetSeat() string

func (*PerformanceSeatAddReq) GetSessionId

func (x *PerformanceSeatAddReq) GetSessionId() int64

func (*PerformanceSeatAddReq) GetStatus

func (x *PerformanceSeatAddReq) GetStatus() int64

func (*PerformanceSeatAddReq) ProtoMessage

func (*PerformanceSeatAddReq) ProtoMessage()

func (*PerformanceSeatAddReq) ProtoReflect

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

func (*PerformanceSeatAddReq) Reset

func (x *PerformanceSeatAddReq) Reset()

func (*PerformanceSeatAddReq) String

func (x *PerformanceSeatAddReq) String() string

type PerformanceSeatAddResp

type PerformanceSeatAddResp struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

func (*PerformanceSeatAddResp) Descriptor deprecated

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

Deprecated: Use PerformanceSeatAddResp.ProtoReflect.Descriptor instead.

func (*PerformanceSeatAddResp) GetId

func (x *PerformanceSeatAddResp) GetId() int64

func (*PerformanceSeatAddResp) ProtoMessage

func (*PerformanceSeatAddResp) ProtoMessage()

func (*PerformanceSeatAddResp) ProtoReflect

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

func (*PerformanceSeatAddResp) Reset

func (x *PerformanceSeatAddResp) Reset()

func (*PerformanceSeatAddResp) String

func (x *PerformanceSeatAddResp) String() string

type PerformanceSeatRemoveReq

type PerformanceSeatRemoveReq struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

PerformanceSeatRemove 演出活动场次座位表 删除

func (*PerformanceSeatRemoveReq) Descriptor deprecated

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

Deprecated: Use PerformanceSeatRemoveReq.ProtoReflect.Descriptor instead.

func (*PerformanceSeatRemoveReq) GetId

func (x *PerformanceSeatRemoveReq) GetId() int64

func (*PerformanceSeatRemoveReq) ProtoMessage

func (*PerformanceSeatRemoveReq) ProtoMessage()

func (*PerformanceSeatRemoveReq) ProtoReflect

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

func (*PerformanceSeatRemoveReq) Reset

func (x *PerformanceSeatRemoveReq) Reset()

func (*PerformanceSeatRemoveReq) String

func (x *PerformanceSeatRemoveReq) String() string

type PerformanceSeatRetrieveReq

type PerformanceSeatRetrieveReq struct {
	Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"`
	// contains filtered or unexported fields
}

PerformanceSeatRetrieve 演出活动场次座位表 获取

func (*PerformanceSeatRetrieveReq) Descriptor deprecated

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

Deprecated: Use PerformanceSeatRetrieveReq.ProtoReflect.Descriptor instead.

func (*PerformanceSeatRetrieveReq) GetPaging

func (x *PerformanceSeatRetrieveReq) GetPaging() *Paging

func (*PerformanceSeatRetrieveReq) ProtoMessage

func (*PerformanceSeatRetrieveReq) ProtoMessage()

func (*PerformanceSeatRetrieveReq) ProtoReflect

func (*PerformanceSeatRetrieveReq) Reset

func (x *PerformanceSeatRetrieveReq) Reset()

func (*PerformanceSeatRetrieveReq) String

func (x *PerformanceSeatRetrieveReq) String() string

type PerformanceSeatRetrieveResp

type PerformanceSeatRetrieveResp struct {
	Total int64              `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数
	Data  []*PerformanceSeat `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`    // 数据列表
	// contains filtered or unexported fields
}

func (*PerformanceSeatRetrieveResp) Descriptor deprecated

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

Deprecated: Use PerformanceSeatRetrieveResp.ProtoReflect.Descriptor instead.

func (*PerformanceSeatRetrieveResp) GetData

func (*PerformanceSeatRetrieveResp) GetTotal

func (x *PerformanceSeatRetrieveResp) GetTotal() int64

func (*PerformanceSeatRetrieveResp) ProtoMessage

func (*PerformanceSeatRetrieveResp) ProtoMessage()

func (*PerformanceSeatRetrieveResp) ProtoReflect

func (*PerformanceSeatRetrieveResp) Reset

func (x *PerformanceSeatRetrieveResp) Reset()

func (*PerformanceSeatRetrieveResp) String

func (x *PerformanceSeatRetrieveResp) String() string

type PerformanceSeatServiceClient

type PerformanceSeatServiceClient interface {
	// PerformanceSeatAdd 演出活动场次座位表 创建
	PerformanceSeatAdd(ctx context.Context, in *PerformanceSeatAddReq, opts ...grpc.CallOption) (*PerformanceSeatAddResp, error)
	// PerformanceSeatUpdate 演出活动场次座位表 更新
	PerformanceSeatUpdate(ctx context.Context, in *PerformanceSeatUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// PerformanceSeatRetrieve 演出活动场次座位表 获取
	PerformanceSeatRetrieve(ctx context.Context, in *PerformanceSeatRetrieveReq, opts ...grpc.CallOption) (*PerformanceSeatRetrieveResp, error)
	// PerformanceSeatRemove 演出活动场次座位表 删除
	PerformanceSeatRemove(ctx context.Context, in *PerformanceSeatRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error)
}

PerformanceSeatServiceClient is the client API for PerformanceSeatService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PerformanceSeatServiceServer

type PerformanceSeatServiceServer interface {
	// PerformanceSeatAdd 演出活动场次座位表 创建
	PerformanceSeatAdd(context.Context, *PerformanceSeatAddReq) (*PerformanceSeatAddResp, error)
	// PerformanceSeatUpdate 演出活动场次座位表 更新
	PerformanceSeatUpdate(context.Context, *PerformanceSeatUpdateReq) (*EmptyResp, error)
	// PerformanceSeatRetrieve 演出活动场次座位表 获取
	PerformanceSeatRetrieve(context.Context, *PerformanceSeatRetrieveReq) (*PerformanceSeatRetrieveResp, error)
	// PerformanceSeatRemove 演出活动场次座位表 删除
	PerformanceSeatRemove(context.Context, *PerformanceSeatRemoveReq) (*EmptyResp, error)
	// contains filtered or unexported methods
}

PerformanceSeatServiceServer is the server API for PerformanceSeatService service. All implementations must embed UnimplementedPerformanceSeatServiceServer for forward compatibility

type PerformanceSeatUpdateReq

type PerformanceSeatUpdateReq struct {
	Id        int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`               // ID
	SessionId int64  `protobuf:"varint,2,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID
	Seat      string `protobuf:"bytes,3,opt,name=Seat,proto3" json:"Seat,omitempty"`            // 席位,对应演出活动场次表中的席位
	Row       int64  `protobuf:"varint,4,opt,name=Row,proto3" json:"Row,omitempty"`             // 座位所在行
	Col       int64  `protobuf:"varint,5,opt,name=Col,proto3" json:"Col,omitempty"`             // 座位所在列
	Status    int64  `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"`       // 预定状态:1=已预定、2=未预定:默认=2
	// contains filtered or unexported fields
}

PerformanceSeatUpdate 演出活动场次座位表 更新

func (*PerformanceSeatUpdateReq) Descriptor deprecated

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

Deprecated: Use PerformanceSeatUpdateReq.ProtoReflect.Descriptor instead.

func (*PerformanceSeatUpdateReq) GetCol

func (x *PerformanceSeatUpdateReq) GetCol() int64

func (*PerformanceSeatUpdateReq) GetId

func (x *PerformanceSeatUpdateReq) GetId() int64

func (*PerformanceSeatUpdateReq) GetRow

func (x *PerformanceSeatUpdateReq) GetRow() int64

func (*PerformanceSeatUpdateReq) GetSeat

func (x *PerformanceSeatUpdateReq) GetSeat() string

func (*PerformanceSeatUpdateReq) GetSessionId

func (x *PerformanceSeatUpdateReq) GetSessionId() int64

func (*PerformanceSeatUpdateReq) GetStatus

func (x *PerformanceSeatUpdateReq) GetStatus() int64

func (*PerformanceSeatUpdateReq) ProtoMessage

func (*PerformanceSeatUpdateReq) ProtoMessage()

func (*PerformanceSeatUpdateReq) ProtoReflect

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

func (*PerformanceSeatUpdateReq) Reset

func (x *PerformanceSeatUpdateReq) Reset()

func (*PerformanceSeatUpdateReq) String

func (x *PerformanceSeatUpdateReq) String() string

type PerformanceServiceClient

type PerformanceServiceClient interface {
	// PerformanceAdd 演出活动表 创建
	PerformanceAdd(ctx context.Context, in *PerformanceAddReq, opts ...grpc.CallOption) (*PerformanceAddResp, error)
	// PerformanceUpdate 演出活动表 更新
	PerformanceUpdate(ctx context.Context, in *PerformanceUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// PerformanceRetrieve 演出活动表 获取
	PerformanceRetrieve(ctx context.Context, in *PerformanceRetrieveReq, opts ...grpc.CallOption) (*PerformanceRetrieveResp, error)
	// PerformanceRemove 演出活动表 删除
	PerformanceRemove(ctx context.Context, in *PerformanceRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error)
}

PerformanceServiceClient is the client API for PerformanceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PerformanceServiceServer

type PerformanceServiceServer interface {
	// PerformanceAdd 演出活动表 创建
	PerformanceAdd(context.Context, *PerformanceAddReq) (*PerformanceAddResp, error)
	// PerformanceUpdate 演出活动表 更新
	PerformanceUpdate(context.Context, *PerformanceUpdateReq) (*EmptyResp, error)
	// PerformanceRetrieve 演出活动表 获取
	PerformanceRetrieve(context.Context, *PerformanceRetrieveReq) (*PerformanceRetrieveResp, error)
	// PerformanceRemove 演出活动表 删除
	PerformanceRemove(context.Context, *PerformanceRemoveReq) (*EmptyResp, error)
	// contains filtered or unexported methods
}

PerformanceServiceServer is the server API for PerformanceService service. All implementations must embed UnimplementedPerformanceServiceServer for forward compatibility

type PerformanceSession

type PerformanceSession struct {
	Id            int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                       // ID
	PerformanceId int64  `protobuf:"varint,2,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID
	Tickets       string `protobuf:"bytes,3,opt,name=Tickets,proto3" json:"Tickets,omitempty"`              // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。
	ShowAt        int64  `protobuf:"varint,4,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"`               // 演出时间
	CreatedAt     int64  `protobuf:"varint,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`         // 创建时间
	UpdatedAt     int64  `protobuf:"varint,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`         // 更新时间
	IsDel         int64  `protobuf:"varint,7,opt,name=IsDel,proto3" json:"IsDel,omitempty"`                 // 是否删除: 0=未指定、1=是、2=否: 默认=2
	// contains filtered or unexported fields
}

演出活动场次表

func (*PerformanceSession) Descriptor deprecated

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

Deprecated: Use PerformanceSession.ProtoReflect.Descriptor instead.

func (*PerformanceSession) GetCreatedAt

func (x *PerformanceSession) GetCreatedAt() int64

func (*PerformanceSession) GetId

func (x *PerformanceSession) GetId() int64

func (*PerformanceSession) GetIsDel

func (x *PerformanceSession) GetIsDel() int64

func (*PerformanceSession) GetPerformanceId

func (x *PerformanceSession) GetPerformanceId() int64

func (*PerformanceSession) GetShowAt

func (x *PerformanceSession) GetShowAt() int64

func (*PerformanceSession) GetTickets

func (x *PerformanceSession) GetTickets() string

func (*PerformanceSession) GetUpdatedAt

func (x *PerformanceSession) GetUpdatedAt() int64

func (*PerformanceSession) ProtoMessage

func (*PerformanceSession) ProtoMessage()

func (*PerformanceSession) ProtoReflect

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

func (*PerformanceSession) Reset

func (x *PerformanceSession) Reset()

func (*PerformanceSession) String

func (x *PerformanceSession) String() string

type PerformanceSessionAddReq

type PerformanceSessionAddReq struct {
	PerformanceId int64  `protobuf:"varint,1,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID
	Tickets       string `protobuf:"bytes,2,opt,name=Tickets,proto3" json:"Tickets,omitempty"`              // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。
	ShowAt        int64  `protobuf:"varint,3,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"`               // 演出时间
	// contains filtered or unexported fields
}

PerformanceSessionAdd 演出活动场次表 创建

func (*PerformanceSessionAddReq) Descriptor deprecated

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

Deprecated: Use PerformanceSessionAddReq.ProtoReflect.Descriptor instead.

func (*PerformanceSessionAddReq) GetPerformanceId

func (x *PerformanceSessionAddReq) GetPerformanceId() int64

func (*PerformanceSessionAddReq) GetShowAt

func (x *PerformanceSessionAddReq) GetShowAt() int64

func (*PerformanceSessionAddReq) GetTickets

func (x *PerformanceSessionAddReq) GetTickets() string

func (*PerformanceSessionAddReq) ProtoMessage

func (*PerformanceSessionAddReq) ProtoMessage()

func (*PerformanceSessionAddReq) ProtoReflect

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

func (*PerformanceSessionAddReq) Reset

func (x *PerformanceSessionAddReq) Reset()

func (*PerformanceSessionAddReq) String

func (x *PerformanceSessionAddReq) String() string

type PerformanceSessionAddResp

type PerformanceSessionAddResp struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

func (*PerformanceSessionAddResp) Descriptor deprecated

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

Deprecated: Use PerformanceSessionAddResp.ProtoReflect.Descriptor instead.

func (*PerformanceSessionAddResp) GetId

func (x *PerformanceSessionAddResp) GetId() int64

func (*PerformanceSessionAddResp) ProtoMessage

func (*PerformanceSessionAddResp) ProtoMessage()

func (*PerformanceSessionAddResp) ProtoReflect

func (*PerformanceSessionAddResp) Reset

func (x *PerformanceSessionAddResp) Reset()

func (*PerformanceSessionAddResp) String

func (x *PerformanceSessionAddResp) String() string

type PerformanceSessionRemoveReq

type PerformanceSessionRemoveReq struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

PerformanceSessionRemove 演出活动场次表 删除

func (*PerformanceSessionRemoveReq) Descriptor deprecated

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

Deprecated: Use PerformanceSessionRemoveReq.ProtoReflect.Descriptor instead.

func (*PerformanceSessionRemoveReq) GetId

func (*PerformanceSessionRemoveReq) ProtoMessage

func (*PerformanceSessionRemoveReq) ProtoMessage()

func (*PerformanceSessionRemoveReq) ProtoReflect

func (*PerformanceSessionRemoveReq) Reset

func (x *PerformanceSessionRemoveReq) Reset()

func (*PerformanceSessionRemoveReq) String

func (x *PerformanceSessionRemoveReq) String() string

type PerformanceSessionRetrieveReq

type PerformanceSessionRetrieveReq struct {
	Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"`
	// contains filtered or unexported fields
}

PerformanceSessionRetrieve 演出活动场次表 获取

func (*PerformanceSessionRetrieveReq) Descriptor deprecated

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

Deprecated: Use PerformanceSessionRetrieveReq.ProtoReflect.Descriptor instead.

func (*PerformanceSessionRetrieveReq) GetPaging

func (x *PerformanceSessionRetrieveReq) GetPaging() *Paging

func (*PerformanceSessionRetrieveReq) ProtoMessage

func (*PerformanceSessionRetrieveReq) ProtoMessage()

func (*PerformanceSessionRetrieveReq) ProtoReflect

func (*PerformanceSessionRetrieveReq) Reset

func (x *PerformanceSessionRetrieveReq) Reset()

func (*PerformanceSessionRetrieveReq) String

type PerformanceSessionRetrieveResp

type PerformanceSessionRetrieveResp struct {
	Total int64                 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数
	Data  []*PerformanceSession `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`    // 数据列表
	// contains filtered or unexported fields
}

func (*PerformanceSessionRetrieveResp) Descriptor deprecated

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

Deprecated: Use PerformanceSessionRetrieveResp.ProtoReflect.Descriptor instead.

func (*PerformanceSessionRetrieveResp) GetData

func (*PerformanceSessionRetrieveResp) GetTotal

func (x *PerformanceSessionRetrieveResp) GetTotal() int64

func (*PerformanceSessionRetrieveResp) ProtoMessage

func (*PerformanceSessionRetrieveResp) ProtoMessage()

func (*PerformanceSessionRetrieveResp) ProtoReflect

func (*PerformanceSessionRetrieveResp) Reset

func (x *PerformanceSessionRetrieveResp) Reset()

func (*PerformanceSessionRetrieveResp) String

type PerformanceSessionServiceClient

type PerformanceSessionServiceClient interface {
	// PerformanceSessionAdd 演出活动场次表 创建
	PerformanceSessionAdd(ctx context.Context, in *PerformanceSessionAddReq, opts ...grpc.CallOption) (*PerformanceSessionAddResp, error)
	// PerformanceSessionUpdate 演出活动场次表 更新
	PerformanceSessionUpdate(ctx context.Context, in *PerformanceSessionUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// PerformanceSessionRetrieve 演出活动场次表 获取
	PerformanceSessionRetrieve(ctx context.Context, in *PerformanceSessionRetrieveReq, opts ...grpc.CallOption) (*PerformanceSessionRetrieveResp, error)
	// PerformanceSessionRemove 演出活动场次表 删除
	PerformanceSessionRemove(ctx context.Context, in *PerformanceSessionRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error)
}

PerformanceSessionServiceClient is the client API for PerformanceSessionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PerformanceSessionServiceServer

type PerformanceSessionServiceServer interface {
	// PerformanceSessionAdd 演出活动场次表 创建
	PerformanceSessionAdd(context.Context, *PerformanceSessionAddReq) (*PerformanceSessionAddResp, error)
	// PerformanceSessionUpdate 演出活动场次表 更新
	PerformanceSessionUpdate(context.Context, *PerformanceSessionUpdateReq) (*EmptyResp, error)
	// PerformanceSessionRetrieve 演出活动场次表 获取
	PerformanceSessionRetrieve(context.Context, *PerformanceSessionRetrieveReq) (*PerformanceSessionRetrieveResp, error)
	// PerformanceSessionRemove 演出活动场次表 删除
	PerformanceSessionRemove(context.Context, *PerformanceSessionRemoveReq) (*EmptyResp, error)
	// contains filtered or unexported methods
}

PerformanceSessionServiceServer is the server API for PerformanceSessionService service. All implementations must embed UnimplementedPerformanceSessionServiceServer for forward compatibility

type PerformanceSessionUpdateReq

type PerformanceSessionUpdateReq struct {
	Id            int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                       // ID
	PerformanceId int64  `protobuf:"varint,2,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID
	Tickets       string `protobuf:"bytes,3,opt,name=Tickets,proto3" json:"Tickets,omitempty"`              // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。
	ShowAt        int64  `protobuf:"varint,4,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"`               // 演出时间
	// contains filtered or unexported fields
}

PerformanceSessionUpdate 演出活动场次表 更新

func (*PerformanceSessionUpdateReq) Descriptor deprecated

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

Deprecated: Use PerformanceSessionUpdateReq.ProtoReflect.Descriptor instead.

func (*PerformanceSessionUpdateReq) GetId

func (*PerformanceSessionUpdateReq) GetPerformanceId

func (x *PerformanceSessionUpdateReq) GetPerformanceId() int64

func (*PerformanceSessionUpdateReq) GetShowAt

func (x *PerformanceSessionUpdateReq) GetShowAt() int64

func (*PerformanceSessionUpdateReq) GetTickets

func (x *PerformanceSessionUpdateReq) GetTickets() string

func (*PerformanceSessionUpdateReq) ProtoMessage

func (*PerformanceSessionUpdateReq) ProtoMessage()

func (*PerformanceSessionUpdateReq) ProtoReflect

func (*PerformanceSessionUpdateReq) Reset

func (x *PerformanceSessionUpdateReq) Reset()

func (*PerformanceSessionUpdateReq) String

func (x *PerformanceSessionUpdateReq) String() string

type PerformanceUpdateReq

type PerformanceUpdateReq struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

PerformanceUpdate 演出活动表 更新

func (*PerformanceUpdateReq) Descriptor deprecated

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

Deprecated: Use PerformanceUpdateReq.ProtoReflect.Descriptor instead.

func (*PerformanceUpdateReq) GetAddress

func (x *PerformanceUpdateReq) GetAddress() string

func (*PerformanceUpdateReq) GetAudience

func (x *PerformanceUpdateReq) GetAudience() string

func (*PerformanceUpdateReq) GetAvatar

func (x *PerformanceUpdateReq) GetAvatar() string

func (*PerformanceUpdateReq) GetBackground

func (x *PerformanceUpdateReq) GetBackground() string

func (*PerformanceUpdateReq) GetBirthday

func (x *PerformanceUpdateReq) GetBirthday() int64

func (*PerformanceUpdateReq) GetGender

func (x *PerformanceUpdateReq) GetGender() int64

func (*PerformanceUpdateReq) GetId

func (x *PerformanceUpdateReq) GetId() int64

func (*PerformanceUpdateReq) GetIdentity

func (x *PerformanceUpdateReq) GetIdentity() string

func (*PerformanceUpdateReq) GetLoginAt

func (x *PerformanceUpdateReq) GetLoginAt() int64

func (*PerformanceUpdateReq) GetMail

func (x *PerformanceUpdateReq) GetMail() string

func (*PerformanceUpdateReq) GetMobile

func (x *PerformanceUpdateReq) GetMobile() string

func (*PerformanceUpdateReq) GetName

func (x *PerformanceUpdateReq) GetName() string

func (*PerformanceUpdateReq) GetNation

func (x *PerformanceUpdateReq) GetNation() string

func (*PerformanceUpdateReq) GetNickname

func (x *PerformanceUpdateReq) GetNickname() string

func (*PerformanceUpdateReq) GetPassword

func (x *PerformanceUpdateReq) GetPassword() string

func (*PerformanceUpdateReq) GetStatus

func (x *PerformanceUpdateReq) GetStatus() int64

func (*PerformanceUpdateReq) ProtoMessage

func (*PerformanceUpdateReq) ProtoMessage()

func (*PerformanceUpdateReq) ProtoReflect

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

func (*PerformanceUpdateReq) Reset

func (x *PerformanceUpdateReq) Reset()

func (*PerformanceUpdateReq) String

func (x *PerformanceUpdateReq) String() string

type ServiceClient

type ServiceClient interface {
	// Login 登录
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	// Login 登录
	Login(context.Context, *LoginReq) (*LoginResp, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type SortItem

type SortItem struct {
	Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"`
	Order string `protobuf:"bytes,2,opt,name=Order,proto3" json:"Order,omitempty"`
	// contains filtered or unexported fields
}

func (*SortItem) Descriptor deprecated

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

Deprecated: Use SortItem.ProtoReflect.Descriptor instead.

func (*SortItem) GetField

func (x *SortItem) GetField() string

func (*SortItem) GetOrder

func (x *SortItem) GetOrder() string

func (*SortItem) ProtoMessage

func (*SortItem) ProtoMessage()

func (*SortItem) ProtoReflect

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

func (*SortItem) Reset

func (x *SortItem) Reset()

func (*SortItem) String

func (x *SortItem) String() string

type UnimplementedOrderServiceServer

type UnimplementedOrderServiceServer struct {
}

UnimplementedOrderServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrderServiceServer) OrderAdd

func (UnimplementedOrderServiceServer) OrderRemove

func (UnimplementedOrderServiceServer) OrderRetrieve

func (UnimplementedOrderServiceServer) OrderUpdate

type UnimplementedPerformanceSeatServiceServer

type UnimplementedPerformanceSeatServiceServer struct {
}

UnimplementedPerformanceSeatServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatAdd

func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRemove

func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRetrieve

func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatUpdate

type UnimplementedPerformanceServiceServer

type UnimplementedPerformanceServiceServer struct {
}

UnimplementedPerformanceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPerformanceServiceServer) PerformanceAdd

func (UnimplementedPerformanceServiceServer) PerformanceRemove

func (UnimplementedPerformanceServiceServer) PerformanceRetrieve

func (UnimplementedPerformanceServiceServer) PerformanceUpdate

type UnimplementedPerformanceSessionServiceServer

type UnimplementedPerformanceSessionServiceServer struct {
}

UnimplementedPerformanceSessionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionAdd

func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRemove

func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRetrieve

func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionUpdate

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) Login

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) UserAdd

func (UnimplementedUserServiceServer) UserRemove

func (UnimplementedUserServiceServer) UserRetrieve

func (UnimplementedUserServiceServer) UserUpdate

type UnsafeOrderServiceServer

type UnsafeOrderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrderServiceServer will result in compilation errors.

type UnsafePerformanceSeatServiceServer

type UnsafePerformanceSeatServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePerformanceSeatServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceSeatServiceServer will result in compilation errors.

type UnsafePerformanceServiceServer

type UnsafePerformanceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePerformanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceServiceServer will result in compilation errors.

type UnsafePerformanceSessionServiceServer

type UnsafePerformanceSessionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePerformanceSessionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceSessionServiceServer will result in compilation errors.

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type User

type User struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	CreatedAt  int64  `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间
	UpdatedAt  int64  `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间
	IsDel      int64  `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"`         // 是否删除: 0=未指定、1=是、2=否: 默认=2
	// contains filtered or unexported fields
}

用户表

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAddress

func (x *User) GetAddress() string

func (*User) GetAudience

func (x *User) GetAudience() string

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetBackground

func (x *User) GetBackground() string

func (*User) GetBirthday

func (x *User) GetBirthday() int64

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetGender

func (x *User) GetGender() int64

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetIdentity

func (x *User) GetIdentity() string

func (*User) GetIsDel

func (x *User) GetIsDel() int64

func (*User) GetLoginAt

func (x *User) GetLoginAt() int64

func (*User) GetMail

func (x *User) GetMail() string

func (*User) GetMobile

func (x *User) GetMobile() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNation

func (x *User) GetNation() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetStatus

func (x *User) GetStatus() int64

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserAddReq

type UserAddReq struct {
	Name       string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"`        // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

UserAdd 用户表 创建

func (*UserAddReq) Descriptor deprecated

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

Deprecated: Use UserAddReq.ProtoReflect.Descriptor instead.

func (*UserAddReq) GetAddress

func (x *UserAddReq) GetAddress() string

func (*UserAddReq) GetAudience

func (x *UserAddReq) GetAudience() string

func (*UserAddReq) GetAvatar

func (x *UserAddReq) GetAvatar() string

func (*UserAddReq) GetBackground

func (x *UserAddReq) GetBackground() string

func (*UserAddReq) GetBirthday

func (x *UserAddReq) GetBirthday() int64

func (*UserAddReq) GetGender

func (x *UserAddReq) GetGender() int64

func (*UserAddReq) GetIdentity

func (x *UserAddReq) GetIdentity() string

func (*UserAddReq) GetLoginAt

func (x *UserAddReq) GetLoginAt() int64

func (*UserAddReq) GetMail

func (x *UserAddReq) GetMail() string

func (*UserAddReq) GetMobile

func (x *UserAddReq) GetMobile() string

func (*UserAddReq) GetName

func (x *UserAddReq) GetName() string

func (*UserAddReq) GetNation

func (x *UserAddReq) GetNation() string

func (*UserAddReq) GetNickname

func (x *UserAddReq) GetNickname() string

func (*UserAddReq) GetPassword

func (x *UserAddReq) GetPassword() string

func (*UserAddReq) GetStatus

func (x *UserAddReq) GetStatus() int64

func (*UserAddReq) ProtoMessage

func (*UserAddReq) ProtoMessage()

func (*UserAddReq) ProtoReflect

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

func (*UserAddReq) Reset

func (x *UserAddReq) Reset()

func (*UserAddReq) String

func (x *UserAddReq) String() string

type UserAddResp

type UserAddResp struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

func (*UserAddResp) Descriptor deprecated

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

Deprecated: Use UserAddResp.ProtoReflect.Descriptor instead.

func (*UserAddResp) GetId

func (x *UserAddResp) GetId() int64

func (*UserAddResp) ProtoMessage

func (*UserAddResp) ProtoMessage()

func (*UserAddResp) ProtoReflect

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

func (*UserAddResp) Reset

func (x *UserAddResp) Reset()

func (*UserAddResp) String

func (x *UserAddResp) String() string

type UserRemoveReq

type UserRemoveReq struct {
	Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

UserRemove 用户表 删除

func (*UserRemoveReq) Descriptor deprecated

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

Deprecated: Use UserRemoveReq.ProtoReflect.Descriptor instead.

func (*UserRemoveReq) GetId

func (x *UserRemoveReq) GetId() int64

func (*UserRemoveReq) ProtoMessage

func (*UserRemoveReq) ProtoMessage()

func (*UserRemoveReq) ProtoReflect

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

func (*UserRemoveReq) Reset

func (x *UserRemoveReq) Reset()

func (*UserRemoveReq) String

func (x *UserRemoveReq) String() string

type UserRetrieveReq

type UserRetrieveReq struct {
	Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"`
	// contains filtered or unexported fields
}

UserRetrieve 用户表 获取

func (*UserRetrieveReq) Descriptor deprecated

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

Deprecated: Use UserRetrieveReq.ProtoReflect.Descriptor instead.

func (*UserRetrieveReq) GetPaging

func (x *UserRetrieveReq) GetPaging() *Paging

func (*UserRetrieveReq) ProtoMessage

func (*UserRetrieveReq) ProtoMessage()

func (*UserRetrieveReq) ProtoReflect

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

func (*UserRetrieveReq) Reset

func (x *UserRetrieveReq) Reset()

func (*UserRetrieveReq) String

func (x *UserRetrieveReq) String() string

type UserRetrieveResp

type UserRetrieveResp struct {
	Total int64   `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数
	Data  []*User `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"`    // 数据列表
	// contains filtered or unexported fields
}

func (*UserRetrieveResp) Descriptor deprecated

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

Deprecated: Use UserRetrieveResp.ProtoReflect.Descriptor instead.

func (*UserRetrieveResp) GetData

func (x *UserRetrieveResp) GetData() []*User

func (*UserRetrieveResp) GetTotal

func (x *UserRetrieveResp) GetTotal() int64

func (*UserRetrieveResp) ProtoMessage

func (*UserRetrieveResp) ProtoMessage()

func (*UserRetrieveResp) ProtoReflect

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

func (*UserRetrieveResp) Reset

func (x *UserRetrieveResp) Reset()

func (*UserRetrieveResp) String

func (x *UserRetrieveResp) String() string

type UserServiceClient

type UserServiceClient interface {
	// UserAdd 用户表 创建
	UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error)
	// UserUpdate 用户表 更新
	UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// UserRetrieve 用户表 获取
	UserRetrieve(ctx context.Context, in *UserRetrieveReq, opts ...grpc.CallOption) (*UserRetrieveResp, error)
	// UserRemove 用户表 删除
	UserRemove(ctx context.Context, in *UserRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceServer

type UserServiceServer interface {
	// UserAdd 用户表 创建
	UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
	// UserUpdate 用户表 更新
	UserUpdate(context.Context, *UserUpdateReq) (*EmptyResp, error)
	// UserRetrieve 用户表 获取
	UserRetrieve(context.Context, *UserRetrieveReq) (*UserRetrieveResp, error)
	// UserRemove 用户表 删除
	UserRemove(context.Context, *UserRemoveReq) (*EmptyResp, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type UserUpdateReq

type UserUpdateReq struct {
	Id         int64  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`                // 用户ID
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`             // 姓名
	Nickname   string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"`     // 昵称
	Avatar     string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`         // 头像
	Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图
	Mobile     string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"`         // 手机号
	Password   string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"`     // 密码
	Mail       string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"`             // 邮箱地址
	Identity   string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"`     // 身份证号
	Gender     int64  `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`       // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4
	Nation     string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"`        // 民族
	Birthday   int64  `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"`   // 出生日期
	Address    string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"`      // 收货地址
	Audience   string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"`    // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证
	Status     int64  `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"`       // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1
	LoginAt    int64  `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"`     // 登录时间
	// contains filtered or unexported fields
}

UserUpdate 用户表 更新

func (*UserUpdateReq) Descriptor deprecated

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

Deprecated: Use UserUpdateReq.ProtoReflect.Descriptor instead.

func (*UserUpdateReq) GetAddress

func (x *UserUpdateReq) GetAddress() string

func (*UserUpdateReq) GetAudience

func (x *UserUpdateReq) GetAudience() string

func (*UserUpdateReq) GetAvatar

func (x *UserUpdateReq) GetAvatar() string

func (*UserUpdateReq) GetBackground

func (x *UserUpdateReq) GetBackground() string

func (*UserUpdateReq) GetBirthday

func (x *UserUpdateReq) GetBirthday() int64

func (*UserUpdateReq) GetGender

func (x *UserUpdateReq) GetGender() int64

func (*UserUpdateReq) GetId

func (x *UserUpdateReq) GetId() int64

func (*UserUpdateReq) GetIdentity

func (x *UserUpdateReq) GetIdentity() string

func (*UserUpdateReq) GetLoginAt

func (x *UserUpdateReq) GetLoginAt() int64

func (*UserUpdateReq) GetMail

func (x *UserUpdateReq) GetMail() string

func (*UserUpdateReq) GetMobile

func (x *UserUpdateReq) GetMobile() string

func (*UserUpdateReq) GetName

func (x *UserUpdateReq) GetName() string

func (*UserUpdateReq) GetNation

func (x *UserUpdateReq) GetNation() string

func (*UserUpdateReq) GetNickname

func (x *UserUpdateReq) GetNickname() string

func (*UserUpdateReq) GetPassword

func (x *UserUpdateReq) GetPassword() string

func (*UserUpdateReq) GetStatus

func (x *UserUpdateReq) GetStatus() int64

func (*UserUpdateReq) ProtoMessage

func (*UserUpdateReq) ProtoMessage()

func (*UserUpdateReq) ProtoReflect

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

func (*UserUpdateReq) Reset

func (x *UserUpdateReq) Reset()

func (*UserUpdateReq) String

func (x *UserUpdateReq) String() string

Jump to

Keyboard shortcuts

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