// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.1
// source: module/ec/market/proto/supply.proto

package market

import (
	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 MarketSupplyItem struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Name           string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                        // 联系人名称  必填
	Avatar         string                 `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`                    // 头像
	CommissionRate int32                  `protobuf:"varint,3,opt,name=commission_rate,proto3" json:"commission_rate,omitempty"` //  佣金比例
	Account        string                 `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"`                  //  帐号
	Phone          string                 `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`                      //  手机号
	Password       string                 `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`                //  密码
	OrgName        string                 `protobuf:"bytes,7,opt,name=org_name,proto3" json:"org_name,omitempty"`                //   机构名称
	OrgPhoto       string                 `protobuf:"bytes,8,opt,name=org_photo,proto3" json:"org_photo,omitempty"`              //   机构照片
	IdName         string                 `protobuf:"bytes,9,opt,name=id_name,proto3" json:"id_name,omitempty"`                  //   证件姓名
	IdBefore       string                 `protobuf:"bytes,10,opt,name=id_before,proto3" json:"id_before,omitempty"`             //   证件照片
	IdAfter        string                 `protobuf:"bytes,11,opt,name=id_after,proto3" json:"id_after,omitempty"`               //   证件照片
	Remark         string                 `protobuf:"bytes,12,opt,name=remark,proto3" json:"remark,omitempty"`                   //   备注
	Identity       string                 `protobuf:"bytes,13,opt,name=identity,proto3" json:"identity,omitempty"`               // 唯一标识
	Status         int32                  `protobuf:"varint,14,opt,name=status,proto3" json:"status,omitempty"`                  // 状态
	Id             int32                  `protobuf:"varint,15,opt,name=id,proto3" json:"id,omitempty"`                          // id
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *MarketSupplyItem) Reset() {
	*x = MarketSupplyItem{}
	mi := &file_module_ec_market_proto_supply_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MarketSupplyItem) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MarketSupplyItem) ProtoMessage() {}

func (x *MarketSupplyItem) ProtoReflect() protoreflect.Message {
	mi := &file_module_ec_market_proto_supply_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 MarketSupplyItem.ProtoReflect.Descriptor instead.
func (*MarketSupplyItem) Descriptor() ([]byte, []int) {
	return file_module_ec_market_proto_supply_proto_rawDescGZIP(), []int{0}
}

func (x *MarketSupplyItem) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *MarketSupplyItem) GetAvatar() string {
	if x != nil {
		return x.Avatar
	}
	return ""
}

func (x *MarketSupplyItem) GetCommissionRate() int32 {
	if x != nil {
		return x.CommissionRate
	}
	return 0
}

func (x *MarketSupplyItem) GetAccount() string {
	if x != nil {
		return x.Account
	}
	return ""
}

func (x *MarketSupplyItem) GetPhone() string {
	if x != nil {
		return x.Phone
	}
	return ""
}

func (x *MarketSupplyItem) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *MarketSupplyItem) GetOrgName() string {
	if x != nil {
		return x.OrgName
	}
	return ""
}

func (x *MarketSupplyItem) GetOrgPhoto() string {
	if x != nil {
		return x.OrgPhoto
	}
	return ""
}

func (x *MarketSupplyItem) GetIdName() string {
	if x != nil {
		return x.IdName
	}
	return ""
}

func (x *MarketSupplyItem) GetIdBefore() string {
	if x != nil {
		return x.IdBefore
	}
	return ""
}

func (x *MarketSupplyItem) GetIdAfter() string {
	if x != nil {
		return x.IdAfter
	}
	return ""
}

func (x *MarketSupplyItem) GetRemark() string {
	if x != nil {
		return x.Remark
	}
	return ""
}

func (x *MarketSupplyItem) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

func (x *MarketSupplyItem) GetStatus() int32 {
	if x != nil {
		return x.Status
	}
	return 0
}

func (x *MarketSupplyItem) GetId() int32 {
	if x != nil {
		return x.Id
	}
	return 0
}

type SupplyReply struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Count         int64                  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` //  总数
	Data          []*MarketSupplyItem    `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`    //  数据
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SupplyReply) Reset() {
	*x = SupplyReply{}
	mi := &file_module_ec_market_proto_supply_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SupplyReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SupplyReply) ProtoMessage() {}

func (x *SupplyReply) ProtoReflect() protoreflect.Message {
	mi := &file_module_ec_market_proto_supply_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 SupplyReply.ProtoReflect.Descriptor instead.
func (*SupplyReply) Descriptor() ([]byte, []int) {
	return file_module_ec_market_proto_supply_proto_rawDescGZIP(), []int{1}
}

func (x *SupplyReply) GetCount() int64 {
	if x != nil {
		return x.Count
	}
	return 0
}

func (x *SupplyReply) GetData() []*MarketSupplyItem {
	if x != nil {
		return x.Data
	}
	return nil
}

var File_module_ec_market_proto_supply_proto protoreflect.FileDescriptor

const file_module_ec_market_proto_supply_proto_rawDesc = "" +
	"\n" +
	"#module/ec/market/proto/supply.proto\x12\x06market\x1a\"module/ec/market/proto/const.proto\"\x9e\x03\n" +
	"\x10MarketSupplyItem\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
	"\x06avatar\x18\x02 \x01(\tR\x06avatar\x12(\n" +
	"\x0fcommission_rate\x18\x03 \x01(\x05R\x0fcommission_rate\x12\x18\n" +
	"\aaccount\x18\x04 \x01(\tR\aaccount\x12\x14\n" +
	"\x05phone\x18\x05 \x01(\tR\x05phone\x12\x1a\n" +
	"\bpassword\x18\x06 \x01(\tR\bpassword\x12\x1a\n" +
	"\borg_name\x18\a \x01(\tR\borg_name\x12\x1c\n" +
	"\torg_photo\x18\b \x01(\tR\torg_photo\x12\x18\n" +
	"\aid_name\x18\t \x01(\tR\aid_name\x12\x1c\n" +
	"\tid_before\x18\n" +
	" \x01(\tR\tid_before\x12\x1a\n" +
	"\bid_after\x18\v \x01(\tR\bid_after\x12\x16\n" +
	"\x06remark\x18\f \x01(\tR\x06remark\x12\x1a\n" +
	"\bidentity\x18\r \x01(\tR\bidentity\x12\x16\n" +
	"\x06status\x18\x0e \x01(\x05R\x06status\x12\x0e\n" +
	"\x02id\x18\x0f \x01(\x05R\x02id\"Q\n" +
	"\vSupplyReply\x12\x14\n" +
	"\x05count\x18\x01 \x01(\x03R\x05count\x12,\n" +
	"\x04data\x18\x02 \x03(\v2\x18.market.MarketSupplyItemR\x04data2\xfe\x02\n" +
	"\x06Supply\x12K\n" +
	"\x06Create\x12\x18.market.MarketSupplyItem\x1a%.ec_market_blocks.IdentityStatusReply\"\x00\x12A\n" +
	"\x03Get\x12\x1e.ec_market_blocks.IdentRequest\x1a\x18.market.MarketSupplyItem\"\x00\x12D\n" +
	"\x05Fetch\x12$.ec_market_blocks.MarketFetchRequest\x1a\x13.market.SupplyReply\"\x00\x12K\n" +
	"\x06Modify\x12\x18.market.MarketSupplyItem\x1a%.ec_market_blocks.IdentityStatusReply\"\x00\x12Q\n" +
	"\x06Delete\x12\x1e.ec_market_blocks.IdentRequest\x1a%.ec_market_blocks.IdentityStatusReply\"\x00B%Z#bsm/full/module/ec/market/pb;marketb\x06proto3"

var (
	file_module_ec_market_proto_supply_proto_rawDescOnce sync.Once
	file_module_ec_market_proto_supply_proto_rawDescData []byte
)

func file_module_ec_market_proto_supply_proto_rawDescGZIP() []byte {
	file_module_ec_market_proto_supply_proto_rawDescOnce.Do(func() {
		file_module_ec_market_proto_supply_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_market_proto_supply_proto_rawDesc), len(file_module_ec_market_proto_supply_proto_rawDesc)))
	})
	return file_module_ec_market_proto_supply_proto_rawDescData
}

var file_module_ec_market_proto_supply_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_module_ec_market_proto_supply_proto_goTypes = []any{
	(*MarketSupplyItem)(nil),    // 0: market.MarketSupplyItem
	(*SupplyReply)(nil),         // 1: market.SupplyReply
	(*IdentRequest)(nil),        // 2: ec_market_blocks.IdentRequest
	(*MarketFetchRequest)(nil),  // 3: ec_market_blocks.MarketFetchRequest
	(*IdentityStatusReply)(nil), // 4: ec_market_blocks.IdentityStatusReply
}
var file_module_ec_market_proto_supply_proto_depIdxs = []int32{
	0, // 0: market.SupplyReply.data:type_name -> market.MarketSupplyItem
	0, // 1: market.Supply.Create:input_type -> market.MarketSupplyItem
	2, // 2: market.Supply.Get:input_type -> ec_market_blocks.IdentRequest
	3, // 3: market.Supply.Fetch:input_type -> ec_market_blocks.MarketFetchRequest
	0, // 4: market.Supply.Modify:input_type -> market.MarketSupplyItem
	2, // 5: market.Supply.Delete:input_type -> ec_market_blocks.IdentRequest
	4, // 6: market.Supply.Create:output_type -> ec_market_blocks.IdentityStatusReply
	0, // 7: market.Supply.Get:output_type -> market.MarketSupplyItem
	1, // 8: market.Supply.Fetch:output_type -> market.SupplyReply
	4, // 9: market.Supply.Modify:output_type -> ec_market_blocks.IdentityStatusReply
	4, // 10: market.Supply.Delete:output_type -> ec_market_blocks.IdentityStatusReply
	6, // [6:11] is the sub-list for method output_type
	1, // [1:6] 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_module_ec_market_proto_supply_proto_init() }
func file_module_ec_market_proto_supply_proto_init() {
	if File_module_ec_market_proto_supply_proto != nil {
		return
	}
	file_module_ec_market_proto_const_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_market_proto_supply_proto_rawDesc), len(file_module_ec_market_proto_supply_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_ec_market_proto_supply_proto_goTypes,
		DependencyIndexes: file_module_ec_market_proto_supply_proto_depIdxs,
		MessageInfos:      file_module_ec_market_proto_supply_proto_msgTypes,
	}.Build()
	File_module_ec_market_proto_supply_proto = out.File
	file_module_ec_market_proto_supply_proto_goTypes = nil
	file_module_ec_market_proto_supply_proto_depIdxs = nil
}
