mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 16:34:44 +01:00
Init commit
This commit is contained in:
878
NTR.Common/protos/MallShop.cs
Normal file
878
NTR.Common/protos/MallShop.cs
Normal file
@@ -0,0 +1,878 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: MallShop.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021, 8981
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace Nova.Client {
|
||||
|
||||
/// <summary>Holder for reflection information generated from MallShop.proto</summary>
|
||||
public static partial class MallShopReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for MallShop.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static MallShopReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cg5NYWxsU2hvcC5wcm90byL0AgoITWFsbFNob3ASCgoCaWQYASABKAkSDAoE",
|
||||
"bmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEhAKCGdyb3VwX2lkGAQgASgFEgwK",
|
||||
"BHNvcnQYBSABKAUSGAoQZXhjaGFuZ2VfaXRlbV9pZBgGIAEoBRIZChFleGNo",
|
||||
"YW5nZV9pdGVtX3F0eRgHIAEoBRINCgVzdG9jaxgIIAEoBRIUCgxyZWZyZXNo",
|
||||
"X3R5cGUYCSABKAUSDwoHaXRlbV9pZBgKIAEoBRIQCghpdGVtX3F0eRgLIAEo",
|
||||
"BRIWCg5saXN0X2NvbmRfdHlwZRgMIAEoBRIYChBsaXN0X2NvbmRfcGFyYW1z",
|
||||
"GA0gASgJEhcKD29yZGVyX2NvbmRfdHlwZRgOIAEoBRIZChFvcmRlcl9jb25k",
|
||||
"X3BhcmFtcxgPIAEoCRIRCglsaXN0X3RpbWUYECABKAkSFAoMZGVfbGlzdF90",
|
||||
"aW1lGBEgASgJEhQKDGRpc3BsYXlfbW9kZRgSIAEoBUIOqgILTm92YS5DbGll",
|
||||
"bnRiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShop), global::Nova.Client.MallShop.Parser, new[]{ "Id", "Name", "Desc", "GroupId", "Sort", "ExchangeItemId", "ExchangeItemQty", "Stock", "RefreshType", "ItemId", "ItemQty", "ListCondType", "ListCondParams", "OrderCondType", "OrderCondParams", "ListTime", "DeListTime", "DisplayMode" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class MallShop : pb::IMessage<MallShop>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<MallShop> _parser = new pb::MessageParser<MallShop>(() => new MallShop());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<MallShop> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Nova.Client.MallShopReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MallShop() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MallShop(MallShop other) : this() {
|
||||
id_ = other.id_;
|
||||
name_ = other.name_;
|
||||
desc_ = other.desc_;
|
||||
groupId_ = other.groupId_;
|
||||
sort_ = other.sort_;
|
||||
exchangeItemId_ = other.exchangeItemId_;
|
||||
exchangeItemQty_ = other.exchangeItemQty_;
|
||||
stock_ = other.stock_;
|
||||
refreshType_ = other.refreshType_;
|
||||
itemId_ = other.itemId_;
|
||||
itemQty_ = other.itemQty_;
|
||||
listCondType_ = other.listCondType_;
|
||||
listCondParams_ = other.listCondParams_;
|
||||
orderCondType_ = other.orderCondType_;
|
||||
orderCondParams_ = other.orderCondParams_;
|
||||
listTime_ = other.listTime_;
|
||||
deListTime_ = other.deListTime_;
|
||||
displayMode_ = other.displayMode_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MallShop Clone() {
|
||||
return new MallShop(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private string id_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 2;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "desc" field.</summary>
|
||||
public const int DescFieldNumber = 3;
|
||||
private string desc_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Desc {
|
||||
get { return desc_; }
|
||||
set {
|
||||
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "group_id" field.</summary>
|
||||
public const int GroupIdFieldNumber = 4;
|
||||
private int groupId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int GroupId {
|
||||
get { return groupId_; }
|
||||
set {
|
||||
groupId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sort" field.</summary>
|
||||
public const int SortFieldNumber = 5;
|
||||
private int sort_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Sort {
|
||||
get { return sort_; }
|
||||
set {
|
||||
sort_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "exchange_item_id" field.</summary>
|
||||
public const int ExchangeItemIdFieldNumber = 6;
|
||||
private int exchangeItemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ExchangeItemId {
|
||||
get { return exchangeItemId_; }
|
||||
set {
|
||||
exchangeItemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "exchange_item_qty" field.</summary>
|
||||
public const int ExchangeItemQtyFieldNumber = 7;
|
||||
private int exchangeItemQty_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ExchangeItemQty {
|
||||
get { return exchangeItemQty_; }
|
||||
set {
|
||||
exchangeItemQty_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "stock" field.</summary>
|
||||
public const int StockFieldNumber = 8;
|
||||
private int stock_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Stock {
|
||||
get { return stock_; }
|
||||
set {
|
||||
stock_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "refresh_type" field.</summary>
|
||||
public const int RefreshTypeFieldNumber = 9;
|
||||
private int refreshType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RefreshType {
|
||||
get { return refreshType_; }
|
||||
set {
|
||||
refreshType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_id" field.</summary>
|
||||
public const int ItemIdFieldNumber = 10;
|
||||
private int itemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemId {
|
||||
get { return itemId_; }
|
||||
set {
|
||||
itemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_qty" field.</summary>
|
||||
public const int ItemQtyFieldNumber = 11;
|
||||
private int itemQty_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ItemQty {
|
||||
get { return itemQty_; }
|
||||
set {
|
||||
itemQty_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_cond_type" field.</summary>
|
||||
public const int ListCondTypeFieldNumber = 12;
|
||||
private int listCondType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ListCondType {
|
||||
get { return listCondType_; }
|
||||
set {
|
||||
listCondType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_cond_params" field.</summary>
|
||||
public const int ListCondParamsFieldNumber = 13;
|
||||
private string listCondParams_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ListCondParams {
|
||||
get { return listCondParams_; }
|
||||
set {
|
||||
listCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "order_cond_type" field.</summary>
|
||||
public const int OrderCondTypeFieldNumber = 14;
|
||||
private int orderCondType_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int OrderCondType {
|
||||
get { return orderCondType_; }
|
||||
set {
|
||||
orderCondType_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "order_cond_params" field.</summary>
|
||||
public const int OrderCondParamsFieldNumber = 15;
|
||||
private string orderCondParams_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string OrderCondParams {
|
||||
get { return orderCondParams_; }
|
||||
set {
|
||||
orderCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "list_time" field.</summary>
|
||||
public const int ListTimeFieldNumber = 16;
|
||||
private string listTime_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string ListTime {
|
||||
get { return listTime_; }
|
||||
set {
|
||||
listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "de_list_time" field.</summary>
|
||||
public const int DeListTimeFieldNumber = 17;
|
||||
private string deListTime_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string DeListTime {
|
||||
get { return deListTime_; }
|
||||
set {
|
||||
deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "display_mode" field.</summary>
|
||||
public const int DisplayModeFieldNumber = 18;
|
||||
private int displayMode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int DisplayMode {
|
||||
get { return displayMode_; }
|
||||
set {
|
||||
displayMode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as MallShop);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(MallShop other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Name != other.Name) return false;
|
||||
if (Desc != other.Desc) return false;
|
||||
if (GroupId != other.GroupId) return false;
|
||||
if (Sort != other.Sort) return false;
|
||||
if (ExchangeItemId != other.ExchangeItemId) return false;
|
||||
if (ExchangeItemQty != other.ExchangeItemQty) return false;
|
||||
if (Stock != other.Stock) return false;
|
||||
if (RefreshType != other.RefreshType) return false;
|
||||
if (ItemId != other.ItemId) return false;
|
||||
if (ItemQty != other.ItemQty) return false;
|
||||
if (ListCondType != other.ListCondType) return false;
|
||||
if (ListCondParams != other.ListCondParams) return false;
|
||||
if (OrderCondType != other.OrderCondType) return false;
|
||||
if (OrderCondParams != other.OrderCondParams) return false;
|
||||
if (ListTime != other.ListTime) return false;
|
||||
if (DeListTime != other.DeListTime) return false;
|
||||
if (DisplayMode != other.DisplayMode) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Id.Length != 0) hash ^= Id.GetHashCode();
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
||||
if (GroupId != 0) hash ^= GroupId.GetHashCode();
|
||||
if (Sort != 0) hash ^= Sort.GetHashCode();
|
||||
if (ExchangeItemId != 0) hash ^= ExchangeItemId.GetHashCode();
|
||||
if (ExchangeItemQty != 0) hash ^= ExchangeItemQty.GetHashCode();
|
||||
if (Stock != 0) hash ^= Stock.GetHashCode();
|
||||
if (RefreshType != 0) hash ^= RefreshType.GetHashCode();
|
||||
if (ItemId != 0) hash ^= ItemId.GetHashCode();
|
||||
if (ItemQty != 0) hash ^= ItemQty.GetHashCode();
|
||||
if (ListCondType != 0) hash ^= ListCondType.GetHashCode();
|
||||
if (ListCondParams.Length != 0) hash ^= ListCondParams.GetHashCode();
|
||||
if (OrderCondType != 0) hash ^= OrderCondType.GetHashCode();
|
||||
if (OrderCondParams.Length != 0) hash ^= OrderCondParams.GetHashCode();
|
||||
if (ListTime.Length != 0) hash ^= ListTime.GetHashCode();
|
||||
if (DeListTime.Length != 0) hash ^= DeListTime.GetHashCode();
|
||||
if (DisplayMode != 0) hash ^= DisplayMode.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Id.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Id);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(GroupId);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (ExchangeItemId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(ExchangeItemId);
|
||||
}
|
||||
if (ExchangeItemQty != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ExchangeItemQty);
|
||||
}
|
||||
if (Stock != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Stock);
|
||||
}
|
||||
if (RefreshType != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(RefreshType);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(ItemQty);
|
||||
}
|
||||
if (ListCondType != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(ListCondType);
|
||||
}
|
||||
if (ListCondParams.Length != 0) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteString(ListCondParams);
|
||||
}
|
||||
if (OrderCondType != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(OrderCondType);
|
||||
}
|
||||
if (OrderCondParams.Length != 0) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteString(OrderCondParams);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
output.WriteRawTag(130, 1);
|
||||
output.WriteString(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteString(DeListTime);
|
||||
}
|
||||
if (DisplayMode != 0) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteInt32(DisplayMode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Id.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Id);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Desc);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt32(GroupId);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteInt32(Sort);
|
||||
}
|
||||
if (ExchangeItemId != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(ExchangeItemId);
|
||||
}
|
||||
if (ExchangeItemQty != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(ExchangeItemQty);
|
||||
}
|
||||
if (Stock != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(Stock);
|
||||
}
|
||||
if (RefreshType != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(RefreshType);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(ItemQty);
|
||||
}
|
||||
if (ListCondType != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(ListCondType);
|
||||
}
|
||||
if (ListCondParams.Length != 0) {
|
||||
output.WriteRawTag(106);
|
||||
output.WriteString(ListCondParams);
|
||||
}
|
||||
if (OrderCondType != 0) {
|
||||
output.WriteRawTag(112);
|
||||
output.WriteInt32(OrderCondType);
|
||||
}
|
||||
if (OrderCondParams.Length != 0) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteString(OrderCondParams);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
output.WriteRawTag(130, 1);
|
||||
output.WriteString(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
output.WriteRawTag(138, 1);
|
||||
output.WriteString(DeListTime);
|
||||
}
|
||||
if (DisplayMode != 0) {
|
||||
output.WriteRawTag(144, 1);
|
||||
output.WriteInt32(DisplayMode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Id.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (Desc.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
||||
}
|
||||
if (GroupId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId);
|
||||
}
|
||||
if (Sort != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort);
|
||||
}
|
||||
if (ExchangeItemId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemId);
|
||||
}
|
||||
if (ExchangeItemQty != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemQty);
|
||||
}
|
||||
if (Stock != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock);
|
||||
}
|
||||
if (RefreshType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId);
|
||||
}
|
||||
if (ItemQty != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty);
|
||||
}
|
||||
if (ListCondType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ListCondType);
|
||||
}
|
||||
if (ListCondParams.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(ListCondParams);
|
||||
}
|
||||
if (OrderCondType != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(OrderCondType);
|
||||
}
|
||||
if (OrderCondParams.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderCondParams);
|
||||
}
|
||||
if (ListTime.Length != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeStringSize(ListTime);
|
||||
}
|
||||
if (DeListTime.Length != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeStringSize(DeListTime);
|
||||
}
|
||||
if (DisplayMode != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(MallShop other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id.Length != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.Desc.Length != 0) {
|
||||
Desc = other.Desc;
|
||||
}
|
||||
if (other.GroupId != 0) {
|
||||
GroupId = other.GroupId;
|
||||
}
|
||||
if (other.Sort != 0) {
|
||||
Sort = other.Sort;
|
||||
}
|
||||
if (other.ExchangeItemId != 0) {
|
||||
ExchangeItemId = other.ExchangeItemId;
|
||||
}
|
||||
if (other.ExchangeItemQty != 0) {
|
||||
ExchangeItemQty = other.ExchangeItemQty;
|
||||
}
|
||||
if (other.Stock != 0) {
|
||||
Stock = other.Stock;
|
||||
}
|
||||
if (other.RefreshType != 0) {
|
||||
RefreshType = other.RefreshType;
|
||||
}
|
||||
if (other.ItemId != 0) {
|
||||
ItemId = other.ItemId;
|
||||
}
|
||||
if (other.ItemQty != 0) {
|
||||
ItemQty = other.ItemQty;
|
||||
}
|
||||
if (other.ListCondType != 0) {
|
||||
ListCondType = other.ListCondType;
|
||||
}
|
||||
if (other.ListCondParams.Length != 0) {
|
||||
ListCondParams = other.ListCondParams;
|
||||
}
|
||||
if (other.OrderCondType != 0) {
|
||||
OrderCondType = other.OrderCondType;
|
||||
}
|
||||
if (other.OrderCondParams.Length != 0) {
|
||||
OrderCondParams = other.OrderCondParams;
|
||||
}
|
||||
if (other.ListTime.Length != 0) {
|
||||
ListTime = other.ListTime;
|
||||
}
|
||||
if (other.DeListTime.Length != 0) {
|
||||
DeListTime = other.DeListTime;
|
||||
}
|
||||
if (other.DisplayMode != 0) {
|
||||
DisplayMode = other.DisplayMode;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
Id = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
GroupId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
ExchangeItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ExchangeItemQty = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Stock = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
RefreshType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
ItemQty = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
ListCondType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
ListCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
OrderCondType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
OrderCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
ListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
DeListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
DisplayMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
Id = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Desc = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
GroupId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
Sort = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
ExchangeItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
ExchangeItemQty = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
Stock = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
RefreshType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ItemId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
ItemQty = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
ListCondType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
ListCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
OrderCondType = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
OrderCondParams = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 130: {
|
||||
ListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 138: {
|
||||
DeListTime = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 144: {
|
||||
DisplayMode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user