123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1;
- // 用于生成指定语言go的包名称
- option go_package = "smart-supplier-management/pb/v1";
- message ProvincialGetProjectCodeRequest {
- int32 category = 1;
- string name = 2;
- string area_code = 3;
- }
- message ProvincialGetProjectCodeReply {
- string code = 1;
- }
- message ProvincialPostProjectRequest {
- string project_code = 1;
- string project_name = 2;
- string project_category = 3;
- string owner_name = 4;
- string build_corporation_code= 5;
- string area_code = 6;
- string address = 7;
- string invest = 8;
- string prj_size = 9;
- string start_date = 10;
- string complete_date = 11;
- string prj_status = 12;
- int32 construct_type = 13;
- int32 invest_type = 14;
- double building_area = 15;
- string scale = 16;
- }
- message ProvincialPostProjectReply {
- string id = 1;
- }
- message ProvincialPostDustDeviceRequest {
- string code = 1;
- string name = 2;
- string device_name = 3;
- string device_id = 4;
- string manufacturer = 5;
- string batch = 6;
- string unit = 7;
- string device_model = 8;
- }
- message ProvincialPostDustDeviceReply {
- string id = 1;
- }
- message ProvincialDustData {
- string code = 1;
- string name = 2;
- string device_id = 3;
- string monitoring_time = 4;
- string save_time = 5;
- double pm10_value = 6;
- double pm25_value = 7;
- double voice = 8;
- int32 spray_status=9;
- int32 type = 10;
- }
- message ProvincialPostDustDataRequest {
- repeated ProvincialDustData Datas = 1;
- }
- message ProvincialPostDustDataReply {
- string id = 1;
- }
- message ProvincialVerifyDataRequest {
- string id = 1;
- }
- message ProvincialVerifyDataReply {
- int32 state = 1;
- int32 result = 2;
- string all_message = 3;
- }
- message ProvincialPostTeamRequest {
- string code = 1;
- int64 team_sys_no = 2;
- string corp_code = 3;
- string corp_name = 4;
- string team_name = 5;
- string team_leader_name = 6;
- string team_leader_phone = 7;
- }
- message ProvincialPostTeamReply {
- string id = 1;
- }
- message ProvincialPostStaffRequest {
- string code = 1;
- int64 team_sys_no = 2;
- string corp_code = 3;
- string corp_name = 4;
- string team_name = 5;
- string worker_name = 6;
- string is_team_leader = 7;
- int32 id_card_type = 8;
- string id_card_number = 9;
- int32 age = 10;
- string gender = 11;
- string nation = 12;
- string address = 13;
- string head_image = 14;
- int32 politics_type = 15;
- int32 culture_level_type = 16;
- string grant_org = 17;
- string work_type = 18;
- string native_place = 19;
- string mobile = 20;
- string has_contract = 21;
- }
- message ProvincialPostStaffReply {
- string id = 1;
- }
- message ProvincialPostStaffAttendanceRequest {
- string code = 1;
- int64 team_sys_no = 2;
- string team_name = 3;
- string worker_name = 4;
- int32 id_card_type = 5;
- string id_card_number = 6;
- string date = 7;
- int32 direction = 8;
- }
- message ProvincialPostStaffAttendanceReply {
- string id = 1;
- }
|