ホテル管理システム
ogi
yesterday 1a1c8e71fcd14858f595029f089b2d4a00202b32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
syntax = "proto3";
 
import "datarequest.proto";
import "dataresult.proto";
import "sqlwhere.proto";
import "file.proto";
import "google/protobuf/timestamp.proto";
import "customTypes.proto";
 
package HotelPms.Data.Master;
 
message Item {
  string ID = 1;
  string Name = 2;
  string EnName = 3;
  string Name2 = 4;
  string ReceiptName = 5;
  int32 RoomTypeID = 6;
  int32 PersonCount = 7;
  customTypes.DecimalValue Price = 8;
  customTypes.DecimalValue DiscountRate = 9;
  customTypes.DecimalValue DiscountSummary = 10;
  int32 DiscountID = 11;
  int32 ServiceIOType = 12;
  customTypes.DecimalValue ServiceRate = 13;
  int32 TaxType = 14;
  int32 TaxIOType = 15;
  int32 BathTaxIOType = 16;
  int32 AccTaxIOType = 17;
  int32 SaleSectionID = 18;
  int32 SumSectionID = 19;
  int32 Kind = 20;
  bool NextDay = 21;
  int32 AgentID = 22;
  int32 AgentBranchID = 23;
  bool PointFlg = 24;
  bool PointInTax = 25;
  customTypes.DecimalValue PointRate = 26;
  int32 PointPrice = 27;
  int32 PointSumType = 28;
  int32 Point = 29;
  bool DayUse = 30;
  int32 ReceiptPrtType = 31;
  bool LongStayFlg = 32;
  int32 RentalType = 33;
  int32 TraderID = 34;
  string TraderMemo = 35;
  bool PackFlg = 36;
  int32 SortID = 37;
  int32 Fraction = 38;
  bool InRoomSales = 39;
  int32 MealType = 40;
  int32 UseType = 41;
  int32 PersonType = 42;
  bool Parking = 43;
  bool HallFee = 44;
  google.protobuf.Timestamp UpdateDate = 45;
  int32 UpdateLoginID = 46;
  string UpdatePcName = 47;
  int32 UpdateID = 48;
 
}
 
message ItemTable {
  int32 ErrNo = 1;
  string ErrData = 2;
  string Name = 3;
  int32 UpdateType = 4;  //0.なし 1.Insert 2.Update 
  string Tag = 5;
  bytes BeforeUpdate = 6;
  bytes AfterUpdate = 7;
  repeated Item Rows = 8;
}
 
service ItemCore {
  rpc GetData (HotelPms.Data.DataRequest) returns (ItemTable);
  rpc SetData (ItemTable) returns (HotelPms.Data.DataResult);
  rpc Add (Item) returns (HotelPms.Data.DataResult);
  rpc Update (Item) returns (HotelPms.Data.DataResult);
  rpc Remove (HotelPms.Data.SqlWhere) returns (HotelPms.Data.DataResult);
  rpc GetDataStream (stream HotelPms.Data.DataRequest) returns (stream ItemTable);
  rpc SetDataStream (stream ItemTable) returns (stream HotelPms.Data.DataResult);
  rpc AddStream (stream Item) returns (stream HotelPms.Data.DataResult);
  rpc UpdateStream (stream Item) returns (stream HotelPms.Data.DataResult);
  rpc RemoveStream (stream HotelPms.Data.SqlWhere) returns (stream HotelPms.Data.DataResult);
  rpc OutputStream (HotelPms.Data.DataRequest) returns (stream HotelPms.Data.FileGrpcData);
}