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.
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/BaseClassLog/BaseClassLogProto/ Business/BaseClassLog/BaseClassLogProto/BaseClassLog.proto --go_out=plugins=grpc:Business/BaseClassLog/BaseClassLogProto
*/
package BaseClassLogProto ;
option go_package = ".;BaseClassLogProto" ;
option java_multiple_files = true ;
option java_package = "com.dsideal.dsmin.base" ;
option java_outer_classname = "BaseClassLog" ;
option objc_class_prefix = "" ;
service BaseClassLogManage {
//获取单条
rpc GetBaseClassLog ( ModelArg ) returns ( Reply ) { }
//增加
rpc AddBaseClassLog ( ModelArg ) returns ( Reply ) { }
//批量删除
rpc DeleteBaseClassLog ( DeleteIdsArg ) returns ( Reply ) { }
//修改
rpc UpdateBaseClassLog ( ModelArg ) returns ( Reply ) { }
//查询(分页)
rpc PageBaseClassLog ( QueryArg ) returns ( Reply ) { }
}
message ModelArg {
//日志主键
string LogId = 1 ;
//班级ID
string ClassId = 2 ;
//整数ID
int32 IdInt = 3 ;
//班号
int32 Bh = 4 ;
//班级编码 规则: 10位学校编码+4位入学年份+1位学段+3位班号 学段: 0:幼儿 1:小学 2:初中 3:高中 4: 职业 5: 高等
string ClassCode = 5 ;
//班级名称
string ClassName = 6 ;
//班级别名
string ClassAlias = 7 ;
//入学年份
int32 Rxnf = 8 ;
//入学季节
int32 Rxjj = 9 ;
//学制
int32 SchoolingLength = 10 ;
//所属学段ID
int32 StageId = 11 ;
//班主任ID
string TeacherId = 12 ;
//所在部门( 除职业和高等外都是0)
string OrgId = 13 ;
//所在学校ID
string BureauId = 14 ;
//是否启用 0: 未启用 1: 启用
int32 BUse = 15 ;
//所在省行政区划码
string ProvinceCode = 16 ;
//所在市行政区划码
string CityCode = 17 ;
//所在区行政区划码
string DistrictCode = 18 ;
//主校ID
string MainSchoolId = 19 ;
//最后修改时间
string LastUpdatedTime = 20 ;
//创建时间
string CreateTime = 21 ;
//操作人员ID
string ActionPersonId = 22 ;
//操作IP
string ActionIpAddress = 23 ;
//操作时间
string ActionTime = 24 ;
//操作代码
string ActionCode = 25 ;
//需要强制更新的列
repeated string ForceUpdateFields = 26 ;
}
// 查询参数
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 ;
}