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.

114 lines
2.6 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/BaseTeacherLog/BaseTeacherLogProto/ Business/BaseTeacherLog/BaseTeacherLogProto/BaseTeacherLog.proto --go_out=plugins=grpc:Business/BaseTeacherLog/BaseTeacherLogProto
*/
package BaseTeacherLogProto;
option go_package = ".;BaseTeacherLogProto";
option java_multiple_files = true;
option java_package = "com.dsideal.dsmin.base";
option java_outer_classname = "BaseTeacherLog";
option objc_class_prefix = "";
service BaseTeacherLogManage {
//获取单条
rpc GetBaseTeacherLog (ModelArg) returns (Reply) {}
//增加
rpc AddBaseTeacherLog (ModelArg) returns (Reply) {}
//批量删除
rpc DeleteBaseTeacherLog (DeleteIdsArg) returns (Reply) {}
//修改
rpc UpdateBaseTeacherLog (ModelArg) returns (Reply) {}
//查询(分页)
rpc PageBaseTeacherLog (QueryArg) returns (Reply) {}
}
message ModelArg {
//日志主键
string LogId = 1;
//教师ID
string PersonId = 2;
//整数ID
int32 IdInt = 3;
//人员身份ID
int32 IdentityId = 4;
//教师姓名
string Xm = 5;
//教师姓名拼音
string Xmpy = 6;
//曾用名
string Cym = 7;
//性别 (有字典)
string Xbm = 8;
//出生日期
string Csrq = 9;
//民族 (有字典)
string Mzm = 10;
//政治面貌 (有字典)
string Zzmmm = 11;
//身份证件类型代码 (有字典)
string Sfzjlxm = 12;
//身份证件号
string Sfzjh = 13;
//学历 (有字典)
string Xlm = 14;
//学位 (有字典)
string Xwm = 15;
//职称 (有字典)
string Zcm = 16;
//编制 (有字典)
string Bzlbm = 17;
//从教年月
string Cjny = 18;
//主要任课学段 (有字典)
string StageId = 19;
//主要任课学科 (有字典)
string SubjectId = 20;
//岗位 (有字典)
string Gwzym = 21;
//联系电话
string Lxdh = 22;
//电子信箱
string Dzxx = 23;
//是否启用 0未启用 1启用
int32 BUse = 24;
//教师状态码
int32 StateId = 25;
//最后修改时间
string LastUpdatedTime = 26;
//创建时间
string CreateTime = 27;
//操作人员ID
string ActionPersonId = 28;
//操作IP
string ActionIpAddress = 29;
//操作时间
string ActionTime = 30;
//操作代码
string ActionCode = 31;
//需要强制更新的列
repeated string ForceUpdateFields = 32;
}
// 查询参数
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;
}