// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.4 // source: sale/sale.proto package sale import ( _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type Response struct { state protoimpl.MessageState `protogen:"open.v1"` Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Response) Reset() { *x = Response{} mi := &file_sale_sale_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Response) String() string { return protoimpl.X.MessageStringOf(x) } func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Response.ProtoReflect.Descriptor instead. func (*Response) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{0} } func (x *Response) GetCode() int32 { if x != nil { return x.Code } return 0 } func (x *Response) GetMsg() string { if x != nil { return x.Msg } return "" } func (x *Response) GetData() string { if x != nil { return x.Data } return "" } type GroupEmptyReq struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GroupEmptyReq) Reset() { *x = GroupEmptyReq{} mi := &file_sale_sale_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GroupEmptyReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GroupEmptyReq) ProtoMessage() {} func (x *GroupEmptyReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GroupEmptyReq.ProtoReflect.Descriptor instead. func (*GroupEmptyReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{1} } type GroupItemsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GroupItemsReq) Reset() { *x = GroupItemsReq{} mi := &file_sale_sale_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GroupItemsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GroupItemsReq) ProtoMessage() {} func (x *GroupItemsReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GroupItemsReq.ProtoReflect.Descriptor instead. func (*GroupItemsReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{2} } func (x *GroupItemsReq) GetPage() uint32 { if x != nil { return x.Page } return 0 } func (x *GroupItemsReq) GetPageSize() uint32 { if x != nil { return x.PageSize } return 0 } func (x *GroupItemsReq) GetName() string { if x != nil { return x.Name } return "" } type GroupCreateReq struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GroupCreateReq) Reset() { *x = GroupCreateReq{} mi := &file_sale_sale_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GroupCreateReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GroupCreateReq) ProtoMessage() {} func (x *GroupCreateReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GroupCreateReq.ProtoReflect.Descriptor instead. func (*GroupCreateReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{3} } func (x *GroupCreateReq) GetName() string { if x != nil { return x.Name } return "" } type NamesReq struct { state protoimpl.MessageState `protogen:"open.v1"` Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NamesReq) Reset() { *x = NamesReq{} mi := &file_sale_sale_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NamesReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*NamesReq) ProtoMessage() {} func (x *NamesReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NamesReq.ProtoReflect.Descriptor instead. func (*NamesReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{4} } func (x *NamesReq) GetType() uint32 { if x != nil { return x.Type } return 0 } func (x *NamesReq) GetName() string { if x != nil { return x.Name } return "" } func (x *NamesReq) GetLevel() uint32 { if x != nil { return x.Level } return 0 } type NameItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NameItem) Reset() { *x = NameItem{} mi := &file_sale_sale_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NameItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*NameItem) ProtoMessage() {} func (x *NameItem) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NameItem.ProtoReflect.Descriptor instead. func (*NameItem) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{5} } func (x *NameItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *NameItem) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *NameItem) GetName() string { if x != nil { return x.Name } return "" } type NamesData struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*NameItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NamesData) Reset() { *x = NamesData{} mi := &file_sale_sale_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NamesData) String() string { return protoimpl.X.MessageStringOf(x) } func (*NamesData) ProtoMessage() {} func (x *NamesData) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NamesData.ProtoReflect.Descriptor instead. func (*NamesData) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{6} } func (x *NamesData) GetItems() []*NameItem { if x != nil { return x.Items } return nil } type CreateReq struct { state protoimpl.MessageState `protogen:"open.v1"` Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IdCardFront string `protobuf:"bytes,3,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` Sex uint32 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"` GroupId int64 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` BirthDate string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"` Type uint32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` TerritoryId int64 `protobuf:"varint,11,opt,name=territory_id,json=territoryId,proto3" json:"territory_id,omitempty"` TerritoryName string `protobuf:"bytes,12,opt,name=territory_name,json=territoryName,proto3" json:"territory_name,omitempty"` ProvinceId int64 `protobuf:"varint,13,opt,name=province_id,json=provinceId,proto3" json:"province_id,omitempty"` CityId int64 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` DistrictId int64 `protobuf:"varint,15,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"` RegionProvince string `protobuf:"bytes,16,opt,name=region_province,json=regionProvince,proto3" json:"region_province,omitempty"` RegionCity string `protobuf:"bytes,17,opt,name=region_city,json=regionCity,proto3" json:"region_city,omitempty"` RegionDistrict string `protobuf:"bytes,18,opt,name=region_district,json=regionDistrict,proto3" json:"region_district,omitempty"` Address string `protobuf:"bytes,19,opt,name=address,proto3" json:"address,omitempty"` IdCardBack string `protobuf:"bytes,20,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back,omitempty"` BusinessLicense string `protobuf:"bytes,21,opt,name=business_license,json=businessLicense,proto3" json:"business_license,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateReq) Reset() { *x = CreateReq{} mi := &file_sale_sale_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateReq) ProtoMessage() {} func (x *CreateReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateReq.ProtoReflect.Descriptor instead. func (*CreateReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{7} } func (x *CreateReq) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *CreateReq) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateReq) GetIdCardFront() string { if x != nil { return x.IdCardFront } return "" } func (x *CreateReq) GetPassword() string { if x != nil { return x.Password } return "" } func (x *CreateReq) GetAccount() string { if x != nil { return x.Account } return "" } func (x *CreateReq) GetSex() uint32 { if x != nil { return x.Sex } return 0 } func (x *CreateReq) GetGroupId() int64 { if x != nil { return x.GroupId } return 0 } func (x *CreateReq) GetBirthDate() string { if x != nil { return x.BirthDate } return "" } func (x *CreateReq) GetSaleId() int64 { if x != nil { return x.SaleId } return 0 } func (x *CreateReq) GetType() uint32 { if x != nil { return x.Type } return 0 } func (x *CreateReq) GetTerritoryId() int64 { if x != nil { return x.TerritoryId } return 0 } func (x *CreateReq) GetTerritoryName() string { if x != nil { return x.TerritoryName } return "" } func (x *CreateReq) GetProvinceId() int64 { if x != nil { return x.ProvinceId } return 0 } func (x *CreateReq) GetCityId() int64 { if x != nil { return x.CityId } return 0 } func (x *CreateReq) GetDistrictId() int64 { if x != nil { return x.DistrictId } return 0 } func (x *CreateReq) GetRegionProvince() string { if x != nil { return x.RegionProvince } return "" } func (x *CreateReq) GetRegionCity() string { if x != nil { return x.RegionCity } return "" } func (x *CreateReq) GetRegionDistrict() string { if x != nil { return x.RegionDistrict } return "" } func (x *CreateReq) GetAddress() string { if x != nil { return x.Address } return "" } func (x *CreateReq) GetIdCardBack() string { if x != nil { return x.IdCardBack } return "" } func (x *CreateReq) GetBusinessLicense() string { if x != nil { return x.BusinessLicense } return "" } type EditReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` IdCardFront string `protobuf:"bytes,4,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front,omitempty"` Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` Sex uint32 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"` GroupId int64 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` BirthDate string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"` Type uint32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` TerritoryId int64 `protobuf:"varint,11,opt,name=territory_id,json=territoryId,proto3" json:"territory_id,omitempty"` TerritoryName string `protobuf:"bytes,12,opt,name=territory_name,json=territoryName,proto3" json:"territory_name,omitempty"` ProvinceId int64 `protobuf:"varint,13,opt,name=province_id,json=provinceId,proto3" json:"province_id,omitempty"` CityId int64 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"` DistrictId int64 `protobuf:"varint,15,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"` RegionProvince string `protobuf:"bytes,16,opt,name=region_province,json=regionProvince,proto3" json:"region_province,omitempty"` RegionCity string `protobuf:"bytes,17,opt,name=region_city,json=regionCity,proto3" json:"region_city,omitempty"` RegionDistrict string `protobuf:"bytes,18,opt,name=region_district,json=regionDistrict,proto3" json:"region_district,omitempty"` Address string `protobuf:"bytes,19,opt,name=address,proto3" json:"address,omitempty"` IdCardBack string `protobuf:"bytes,20,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back,omitempty"` BusinessLicense string `protobuf:"bytes,21,opt,name=business_license,json=businessLicense,proto3" json:"business_license,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EditReq) Reset() { *x = EditReq{} mi := &file_sale_sale_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EditReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*EditReq) ProtoMessage() {} func (x *EditReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EditReq.ProtoReflect.Descriptor instead. func (*EditReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{8} } func (x *EditReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *EditReq) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *EditReq) GetName() string { if x != nil { return x.Name } return "" } func (x *EditReq) GetIdCardFront() string { if x != nil { return x.IdCardFront } return "" } func (x *EditReq) GetAccount() string { if x != nil { return x.Account } return "" } func (x *EditReq) GetSex() uint32 { if x != nil { return x.Sex } return 0 } func (x *EditReq) GetGroupId() int64 { if x != nil { return x.GroupId } return 0 } func (x *EditReq) GetBirthDate() string { if x != nil { return x.BirthDate } return "" } func (x *EditReq) GetSaleId() int64 { if x != nil { return x.SaleId } return 0 } func (x *EditReq) GetType() uint32 { if x != nil { return x.Type } return 0 } func (x *EditReq) GetTerritoryId() int64 { if x != nil { return x.TerritoryId } return 0 } func (x *EditReq) GetTerritoryName() string { if x != nil { return x.TerritoryName } return "" } func (x *EditReq) GetProvinceId() int64 { if x != nil { return x.ProvinceId } return 0 } func (x *EditReq) GetCityId() int64 { if x != nil { return x.CityId } return 0 } func (x *EditReq) GetDistrictId() int64 { if x != nil { return x.DistrictId } return 0 } func (x *EditReq) GetRegionProvince() string { if x != nil { return x.RegionProvince } return "" } func (x *EditReq) GetRegionCity() string { if x != nil { return x.RegionCity } return "" } func (x *EditReq) GetRegionDistrict() string { if x != nil { return x.RegionDistrict } return "" } func (x *EditReq) GetAddress() string { if x != nil { return x.Address } return "" } func (x *EditReq) GetIdCardBack() string { if x != nil { return x.IdCardBack } return "" } func (x *EditReq) GetBusinessLicense() string { if x != nil { return x.BusinessLicense } return "" } type InfoReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *InfoReq) Reset() { *x = InfoReq{} mi := &file_sale_sale_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *InfoReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*InfoReq) ProtoMessage() {} func (x *InfoReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InfoReq.ProtoReflect.Descriptor instead. func (*InfoReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{9} } func (x *InfoReq) GetId() int64 { if x != nil { return x.Id } return 0 } type ItemsReq struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` SaleId int64 `protobuf:"varint,4,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"` Type uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ItemsReq) Reset() { *x = ItemsReq{} mi := &file_sale_sale_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ItemsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ItemsReq) ProtoMessage() {} func (x *ItemsReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ItemsReq.ProtoReflect.Descriptor instead. func (*ItemsReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{10} } func (x *ItemsReq) GetName() string { if x != nil { return x.Name } return "" } func (x *ItemsReq) GetPage() uint32 { if x != nil { return x.Page } return 0 } func (x *ItemsReq) GetPageSize() uint32 { if x != nil { return x.PageSize } return 0 } func (x *ItemsReq) GetSaleId() int64 { if x != nil { return x.SaleId } return 0 } func (x *ItemsReq) GetType() uint32 { if x != nil { return x.Type } return 0 } func (x *ItemsReq) GetStatus() uint32 { if x != nil { return x.Status } return 0 } type StatusReq struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status uint32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StatusReq) Reset() { *x = StatusReq{} mi := &file_sale_sale_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StatusReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatusReq) ProtoMessage() {} func (x *StatusReq) ProtoReflect() protoreflect.Message { mi := &file_sale_sale_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StatusReq.ProtoReflect.Descriptor instead. func (*StatusReq) Descriptor() ([]byte, []int) { return file_sale_sale_proto_rawDescGZIP(), []int{11} } func (x *StatusReq) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *StatusReq) GetStatus() uint32 { if x != nil { return x.Status } return 0 } func (x *StatusReq) GetReason() string { if x != nil { return x.Reason } return "" } var File_sale_sale_proto protoreflect.FileDescriptor const file_sale_sale_proto_rawDesc = "" + "\n" + "\x0fsale/sale.proto\x12\x04sale\x1a\x1cgoogle/api/annotations.proto\"D\n" + "\bResponse\x12\x12\n" + "\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" + "\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" + "\x04data\x18\x03 \x01(\tR\x04data\"\x0f\n" + "\rGroupEmptyReq\"T\n" + "\rGroupItemsReq\x12\x12\n" + "\x04page\x18\x01 \x01(\rR\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\rR\bpageSize\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\"$\n" + "\x0eGroupCreateReq\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\"H\n" + "\bNamesReq\x12\x12\n" + "\x04type\x18\x01 \x01(\rR\x04type\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + "\x05level\x18\x03 \x01(\rR\x05level\"F\n" + "\bNameItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\"1\n" + "\tNamesData\x12$\n" + "\x05items\x18\x01 \x03(\v2\x0e.sale.NameItemR\x05items\"\x89\x05\n" + "\tCreateReq\x12\x16\n" + "\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\"\n" + "\rid_card_front\x18\x03 \x01(\tR\vidCardFront\x12\x1a\n" + "\bpassword\x18\x04 \x01(\tR\bpassword\x12\x18\n" + "\aaccount\x18\x05 \x01(\tR\aaccount\x12\x10\n" + "\x03sex\x18\x06 \x01(\rR\x03sex\x12\x19\n" + "\bgroup_id\x18\a \x01(\x03R\agroupId\x12\x1d\n" + "\n" + "birth_date\x18\b \x01(\tR\tbirthDate\x12\x17\n" + "\asale_id\x18\t \x01(\x03R\x06saleId\x12\x12\n" + "\x04type\x18\n" + " \x01(\rR\x04type\x12!\n" + "\fterritory_id\x18\v \x01(\x03R\vterritoryId\x12%\n" + "\x0eterritory_name\x18\f \x01(\tR\rterritoryName\x12\x1f\n" + "\vprovince_id\x18\r \x01(\x03R\n" + "provinceId\x12\x17\n" + "\acity_id\x18\x0e \x01(\x03R\x06cityId\x12\x1f\n" + "\vdistrict_id\x18\x0f \x01(\x03R\n" + "districtId\x12'\n" + "\x0fregion_province\x18\x10 \x01(\tR\x0eregionProvince\x12\x1f\n" + "\vregion_city\x18\x11 \x01(\tR\n" + "regionCity\x12'\n" + "\x0fregion_district\x18\x12 \x01(\tR\x0eregionDistrict\x12\x18\n" + "\aaddress\x18\x13 \x01(\tR\aaddress\x12 \n" + "\fid_card_back\x18\x14 \x01(\tR\n" + "idCardBack\x12)\n" + "\x10business_license\x18\x15 \x01(\tR\x0fbusinessLicense\"\xfb\x04\n" + "\aEditReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\"\n" + "\rid_card_front\x18\x04 \x01(\tR\vidCardFront\x12\x18\n" + "\aaccount\x18\x05 \x01(\tR\aaccount\x12\x10\n" + "\x03sex\x18\x06 \x01(\rR\x03sex\x12\x19\n" + "\bgroup_id\x18\a \x01(\x03R\agroupId\x12\x1d\n" + "\n" + "birth_date\x18\b \x01(\tR\tbirthDate\x12\x17\n" + "\asale_id\x18\t \x01(\x03R\x06saleId\x12\x12\n" + "\x04type\x18\n" + " \x01(\rR\x04type\x12!\n" + "\fterritory_id\x18\v \x01(\x03R\vterritoryId\x12%\n" + "\x0eterritory_name\x18\f \x01(\tR\rterritoryName\x12\x1f\n" + "\vprovince_id\x18\r \x01(\x03R\n" + "provinceId\x12\x17\n" + "\acity_id\x18\x0e \x01(\x03R\x06cityId\x12\x1f\n" + "\vdistrict_id\x18\x0f \x01(\x03R\n" + "districtId\x12'\n" + "\x0fregion_province\x18\x10 \x01(\tR\x0eregionProvince\x12\x1f\n" + "\vregion_city\x18\x11 \x01(\tR\n" + "regionCity\x12'\n" + "\x0fregion_district\x18\x12 \x01(\tR\x0eregionDistrict\x12\x18\n" + "\aaddress\x18\x13 \x01(\tR\aaddress\x12 \n" + "\fid_card_back\x18\x14 \x01(\tR\n" + "idCardBack\x12)\n" + "\x10business_license\x18\x15 \x01(\tR\x0fbusinessLicense\"\x19\n" + "\aInfoReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\"\x94\x01\n" + "\bItemsReq\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" + "\x04page\x18\x02 \x01(\rR\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\rR\bpageSize\x12\x17\n" + "\asale_id\x18\x04 \x01(\x03R\x06saleId\x12\x12\n" + "\x04type\x18\x05 \x01(\rR\x04type\x12\x16\n" + "\x06status\x18\x06 \x01(\rR\x06status\"K\n" + "\tStatusReq\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06status\x18\x02 \x01(\rR\x06status\x12\x16\n" + "\x06reason\x18\x03 \x01(\tR\x06reason2\xbf\x06\n" + "\x04Sale\x12S\n" + "\n" + "GroupItems\x12\x13.sale.GroupItemsReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/group\x12U\n" + "\vGroupCreate\x12\x14.sale.GroupCreateReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/admin/v3/sales/group\x12Y\n" + "\n" + "GroupNames\x12\x13.sale.GroupEmptyReq\x1a\x0e.sale.Response\"&\x82\xd3\xe4\x93\x02 :\x01*\x12\x1b/admin/v3/sales/group/names\x12N\n" + "\x05Types\x12\x13.sale.GroupEmptyReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/types\x12I\n" + "\x05Names\x12\x0e.sale.NamesReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/names\x120\n" + "\rNamesInternal\x12\x0e.sale.NamesReq\x1a\x0f.sale.NamesData\x12E\n" + "\x06Create\x12\x0f.sale.CreateReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/admin/v3/sales\x12A\n" + "\x04Edit\x12\r.sale.EditReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\x1a\x0f/admin/v3/sales\x12F\n" + "\x04Info\x12\r.sale.InfoReq\x1a\x0e.sale.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/sales/info\x12C\n" + "\x05Items\x12\x0e.sale.ItemsReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\x12\x0f/admin/v3/sales\x12L\n" + "\x06Status\x12\x0f.sale.StatusReq\x1a\x0e.sale.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x1a\x16/admin/v3/sales/statusB\x18Z\x16lone-services/rpc/saleb\x06proto3" var ( file_sale_sale_proto_rawDescOnce sync.Once file_sale_sale_proto_rawDescData []byte ) func file_sale_sale_proto_rawDescGZIP() []byte { file_sale_sale_proto_rawDescOnce.Do(func() { file_sale_sale_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sale_sale_proto_rawDesc), len(file_sale_sale_proto_rawDesc))) }) return file_sale_sale_proto_rawDescData } var file_sale_sale_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_sale_sale_proto_goTypes = []any{ (*Response)(nil), // 0: sale.Response (*GroupEmptyReq)(nil), // 1: sale.GroupEmptyReq (*GroupItemsReq)(nil), // 2: sale.GroupItemsReq (*GroupCreateReq)(nil), // 3: sale.GroupCreateReq (*NamesReq)(nil), // 4: sale.NamesReq (*NameItem)(nil), // 5: sale.NameItem (*NamesData)(nil), // 6: sale.NamesData (*CreateReq)(nil), // 7: sale.CreateReq (*EditReq)(nil), // 8: sale.EditReq (*InfoReq)(nil), // 9: sale.InfoReq (*ItemsReq)(nil), // 10: sale.ItemsReq (*StatusReq)(nil), // 11: sale.StatusReq } var file_sale_sale_proto_depIdxs = []int32{ 5, // 0: sale.NamesData.items:type_name -> sale.NameItem 2, // 1: sale.Sale.GroupItems:input_type -> sale.GroupItemsReq 3, // 2: sale.Sale.GroupCreate:input_type -> sale.GroupCreateReq 1, // 3: sale.Sale.GroupNames:input_type -> sale.GroupEmptyReq 1, // 4: sale.Sale.Types:input_type -> sale.GroupEmptyReq 4, // 5: sale.Sale.Names:input_type -> sale.NamesReq 4, // 6: sale.Sale.NamesInternal:input_type -> sale.NamesReq 7, // 7: sale.Sale.Create:input_type -> sale.CreateReq 8, // 8: sale.Sale.Edit:input_type -> sale.EditReq 9, // 9: sale.Sale.Info:input_type -> sale.InfoReq 10, // 10: sale.Sale.Items:input_type -> sale.ItemsReq 11, // 11: sale.Sale.Status:input_type -> sale.StatusReq 0, // 12: sale.Sale.GroupItems:output_type -> sale.Response 0, // 13: sale.Sale.GroupCreate:output_type -> sale.Response 0, // 14: sale.Sale.GroupNames:output_type -> sale.Response 0, // 15: sale.Sale.Types:output_type -> sale.Response 0, // 16: sale.Sale.Names:output_type -> sale.Response 6, // 17: sale.Sale.NamesInternal:output_type -> sale.NamesData 0, // 18: sale.Sale.Create:output_type -> sale.Response 0, // 19: sale.Sale.Edit:output_type -> sale.Response 0, // 20: sale.Sale.Info:output_type -> sale.Response 0, // 21: sale.Sale.Items:output_type -> sale.Response 0, // 22: sale.Sale.Status:output_type -> sale.Response 12, // [12:23] is the sub-list for method output_type 1, // [1:12] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_sale_sale_proto_init() } func file_sale_sale_proto_init() { if File_sale_sale_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_sale_sale_proto_rawDesc), len(file_sale_sale_proto_rawDesc)), NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 1, }, GoTypes: file_sale_sale_proto_goTypes, DependencyIndexes: file_sale_sale_proto_depIdxs, MessageInfos: file_sale_sale_proto_msgTypes, }.Build() File_sale_sale_proto = out.File file_sale_sale_proto_goTypes = nil file_sale_sale_proto_depIdxs = nil }