Advertisement
SavaLione

protob

Jan 15th, 2021
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.19 KB | None | 0 0
  1. // <auto-generated>
  2. //   This file was generated by a tool; you should avoid making direct changes.
  3. //   Consider using 'partial classes' to extend these types
  4. //   Input: my.proto
  5. // </auto-generated>
  6.  
  7. #region Designer generated code
  8. #pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
  9. namespace sbc.data
  10. {
  11.  
  12.     [global::ProtoBuf.ProtoContract()]
  13.     public partial class ServerRequest : global::ProtoBuf.IExtensible
  14.     {
  15.         private global::ProtoBuf.IExtension __pbn__extensionData;
  16.         global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  17.             => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
  18.  
  19.         [global::ProtoBuf.ProtoMember(1)]
  20.         [global::System.ComponentModel.DefaultValue("")]
  21.         public string Login { get; set; } = "";
  22.  
  23.         [global::ProtoBuf.ProtoMember(2)]
  24.         [global::System.ComponentModel.DefaultValue("")]
  25.         public string Password { get; set; } = "";
  26.  
  27.         [global::ProtoBuf.ProtoMember(3)]
  28.         [global::System.ComponentModel.DefaultValue("")]
  29.         public string Barcode { get; set; } = "";
  30.  
  31.         [global::ProtoBuf.ProtoMember(4)]
  32.         public Status NewStatus { get; set; }
  33.  
  34.         [global::ProtoBuf.ProtoMember(5)]
  35.         [global::System.ComponentModel.DefaultValue("")]
  36.         public string Description { get; set; } = "";
  37.  
  38.     }
  39.  
  40.     [global::ProtoBuf.ProtoContract()]
  41.     public enum Status
  42.     {
  43.         [global::ProtoBuf.ProtoEnum(Name = @"PROCESSING")]
  44.         Processing = 0,
  45.         [global::ProtoBuf.ProtoEnum(Name = @"SEND")]
  46.         Send = 1,
  47.         [global::ProtoBuf.ProtoEnum(Name = @"TRAVEL")]
  48.         Travel = 2,
  49.         [global::ProtoBuf.ProtoEnum(Name = @"RECEIVE")]
  50.         Receive = 3,
  51.         [global::ProtoBuf.ProtoEnum(Name = @"LOST")]
  52.         Lost = 4,
  53.         [global::ProtoBuf.ProtoEnum(Name = @"OTHER")]
  54.         Other = 5,
  55.         [global::ProtoBuf.ProtoEnum(Name = @"UNKNOWN")]
  56.         Unknown = 6,
  57.     }
  58.  
  59. }
  60.  
  61. #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
  62. #endregion
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement