// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.0
// source: module/base/cms/proto/site.proto

package cms

import (
	protobuf "bsm/full/protobuf"
	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 SiteListReply struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// 数据
	Data []*SiteItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// 总数
	Count         int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SiteListReply) ProtoMessage() {}

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

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

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

// 添加站点请求
type SiteItem struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                  // 唯一ID
	Identity      string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`       // 添加站点请求唯一码
	Title         string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`             // 标题
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 站点描述
	IconPath      string                 `protobuf:"bytes,5,opt,name=icon_path,proto3" json:"icon_path,omitempty"`     // 站点图标
	Keywords      string                 `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"`       // 关键字
	Domain        string                 `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`           // 站点域名
	Seo           string                 `protobuf:"bytes,8,opt,name=seo,proto3" json:"seo,omitempty"`                 // SEO
	Theme         string                 `protobuf:"bytes,9,opt,name=theme,proto3" json:"theme,omitempty"`             // 站点主题
	Configs       string                 `protobuf:"bytes,10,opt,name=configs,proto3" json:"configs,omitempty"`        // 站点配置
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SiteItem) ProtoMessage() {}

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

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

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

func (x *SiteItem) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *SiteItem) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *SiteItem) GetIconPath() string {
	if x != nil {
		return x.IconPath
	}
	return ""
}

func (x *SiteItem) GetKeywords() string {
	if x != nil {
		return x.Keywords
	}
	return ""
}

func (x *SiteItem) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}

func (x *SiteItem) GetSeo() string {
	if x != nil {
		return x.Seo
	}
	return ""
}

func (x *SiteItem) GetTheme() string {
	if x != nil {
		return x.Theme
	}
	return ""
}

func (x *SiteItem) GetConfigs() string {
	if x != nil {
		return x.Configs
	}
	return ""
}

var File_module_base_cms_proto_site_proto protoreflect.FileDescriptor

const file_module_base_cms_proto_site_proto_rawDesc = "" +
	"\n" +
	" module/base/cms/proto/site.proto\x12\x03cms\x1a\x15protobuf/blocks.proto\"H\n" +
	"\rSiteListReply\x12!\n" +
	"\x04data\x18\x01 \x03(\v2\r.cms.SiteItemR\x04data\x12\x14\n" +
	"\x05count\x18\x02 \x01(\x03R\x05count\"\x82\x02\n" +
	"\bSiteItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
	"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x14\n" +
	"\x05title\x18\x03 \x01(\tR\x05title\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1c\n" +
	"\ticon_path\x18\x05 \x01(\tR\ticon_path\x12\x1a\n" +
	"\bkeywords\x18\x06 \x01(\tR\bkeywords\x12\x16\n" +
	"\x06domain\x18\a \x01(\tR\x06domain\x12\x10\n" +
	"\x03seo\x18\b \x01(\tR\x03seo\x12\x14\n" +
	"\x05theme\x18\t \x01(\tR\x05theme\x12\x18\n" +
	"\aconfigs\x18\n" +
	" \x01(\tR\aconfigs2\xf9\x01\n" +
	"\x04Site\x12,\n" +
	"\x05Fetch\x12\r.blocks.Empty\x1a\x12.cms.SiteListReply\"\x00\x12,\n" +
	"\x03Get\x12\x14.blocks.IdentRequest\x1a\r.cms.SiteItem\"\x00\x12.\n" +
	"\x06Create\x12\r.cms.SiteItem\x1a\x13.blocks.StatusReply\"\x00\x12.\n" +
	"\x06Modify\x12\r.cms.SiteItem\x1a\x13.blocks.StatusReply\"\x00\x125\n" +
	"\x06Delete\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\"\x00B!Z\x1fbsm/full/module/base/cms/pb;cmsb\x06proto3"

var (
	file_module_base_cms_proto_site_proto_rawDescOnce sync.Once
	file_module_base_cms_proto_site_proto_rawDescData []byte
)

func file_module_base_cms_proto_site_proto_rawDescGZIP() []byte {
	file_module_base_cms_proto_site_proto_rawDescOnce.Do(func() {
		file_module_base_cms_proto_site_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_site_proto_rawDesc), len(file_module_base_cms_proto_site_proto_rawDesc)))
	})
	return file_module_base_cms_proto_site_proto_rawDescData
}

var file_module_base_cms_proto_site_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_module_base_cms_proto_site_proto_goTypes = []any{
	(*SiteListReply)(nil),         // 0: cms.SiteListReply
	(*SiteItem)(nil),              // 1: cms.SiteItem
	(*protobuf.Empty)(nil),        // 2: blocks.Empty
	(*protobuf.IdentRequest)(nil), // 3: blocks.IdentRequest
	(*protobuf.StatusReply)(nil),  // 4: blocks.StatusReply
}
var file_module_base_cms_proto_site_proto_depIdxs = []int32{
	1, // 0: cms.SiteListReply.data:type_name -> cms.SiteItem
	2, // 1: cms.Site.Fetch:input_type -> blocks.Empty
	3, // 2: cms.Site.Get:input_type -> blocks.IdentRequest
	1, // 3: cms.Site.Create:input_type -> cms.SiteItem
	1, // 4: cms.Site.Modify:input_type -> cms.SiteItem
	3, // 5: cms.Site.Delete:input_type -> blocks.IdentRequest
	0, // 6: cms.Site.Fetch:output_type -> cms.SiteListReply
	1, // 7: cms.Site.Get:output_type -> cms.SiteItem
	4, // 8: cms.Site.Create:output_type -> blocks.StatusReply
	4, // 9: cms.Site.Modify:output_type -> blocks.StatusReply
	4, // 10: cms.Site.Delete:output_type -> blocks.StatusReply
	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_base_cms_proto_site_proto_init() }
func file_module_base_cms_proto_site_proto_init() {
	if File_module_base_cms_proto_site_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_site_proto_rawDesc), len(file_module_base_cms_proto_site_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_cms_proto_site_proto_goTypes,
		DependencyIndexes: file_module_base_cms_proto_site_proto_depIdxs,
		MessageInfos:      file_module_base_cms_proto_site_proto_msgTypes,
	}.Build()
	File_module_base_cms_proto_site_proto = out.File
	file_module_base_cms_proto_site_proto_goTypes = nil
	file_module_base_cms_proto_site_proto_depIdxs = nil
}
