You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

syntax = "proto3";
//在web层重新生成pb.go的方法
/*
protoc -I Business/BaseParenlog/BaseParenlogProto/ Business/BaseParenlog/BaseParenlogProto/BaseParenlog.proto --go_out=plugins=grpc:Business/BaseParenlog/BaseParenlogProto
*/
package BaseParenlogProto;
option go_package = ".;BaseParenlogProto";
option java_multiple_files = true;
option java_package = "com.dsideal.dsmin.base";
option java_outer_classname = "BaseParenlog";
option objc_class_prefix = "";
service BaseParenlogManage {
//获取单条
rpc GetBaseParenlog (ModelArg) returns (Reply) {}
//增加
rpc AddBaseParenlog (ModelArg) returns (Reply) {}
//批量删除
rpc DeleteBaseParenlog (DeleteIdsArg) returns (Reply) {}
//修改
rpc UpdateBaseParenlog (ModelArg) returns (Reply) {}
//查询(分页)
rpc PageBaseParenlog (QueryArg) returns (Reply) {}
}
message ModelArg {
//日志主键
string LogId = 1;
//家长ID
string PersonId = 2;
//整数ID
int32 IdInt = 3;
//家长姓名
string Xm = 4;
//联系电话
string Lxdh = 5;
//对应的学生ID
string StudentId = 6;
//对应学生的所在班级ID
string ClassId = 7;
//对应学生的所在学校ID
string BureauId = 8;
//所在省行政区划码
string ProvinceCode = 9;
//所在市行政区划码
string CityCode = 10;
//所在区行政区划码
string DistrictCode = 11;
//所在主校ID
string MainSchoolId = 12;
//是否启用 0未启用 1启用
int32 BUse = 13;
//最后修改时间
string LastUpdatedTime = 14;
//创建时间
string CreateTime = 15;
//操作人员ID
string ActionPersonId = 16;
//操作IP
string ActionIpAddress = 17;
//操作时间
string ActionTime = 18;
//操作代码
string ActionCode = 19;
//需要强制更新的列
repeated string ForceUpdateFields = 20;
}
// 查询参数
message QueryArg{
int32 Page = 1;
int32 Limit = 2;
}
// 查询请求响应
message Reply{
bool Success = 1;
string Message = 2;
int32 Count = 3;
string List = 4;
}
//删除参数
message DeleteIdsArg {
//一个或多个ID
repeated string Ids = 1;
}