syntax = "proto3"; // package声明符,用来防止不同的消息类型有命名冲突 package pb_v1; // 用于生成指定语言go的包名称 option go_package = "property-task/pb/v1"; // 费用描述 message BillDesc { int32 charge_basis = 1; double obj_area = 2; int64 fix_amount = 3; string fix_amount_name = 4; int64 unit_price = 5; int64 CustomFee = 6; } // 生成账单接口 message GenerateBillRequest { // 小区id int64 garden_id = 1; // 费项id int64 charge_id = 2; // 费用绑定id,如果charge_bind_id不为空表示只生成这条绑定关系的账单 int64 charge_bind_id=3; // 计算结束时间 int64 end_time = 4; } message GenerateBillReply{ } // 生成滞纳金接口 message GenerateOverdueRequest{ // 小区id int64 garden_id = 1; // 费用项目id int64 charge_id = 2; } message GenerateOverdueReply{ } // 生成催缴接口 message GenerateReminderRequest{ // 小区id int64 garden_id = 1; repeated int32 user_type = 2; bool is_new = 3; } message ReminderUserInfo { string public_open_id = 1; string phone = 2; } message ReminderItem { int64 obj_id = 1; int32 obj_type = 2; // 微信公众号openid repeated ReminderUserInfo users = 3; } message GenerateReminderReply{ repeated ReminderItem list = 1; } message ChargeUrgeInfoRequest { int64 garden_id = 1; } message ChargeUrgeInfoReply { int64 urge_day = 1; int32 urge_target = 2; int32 urge_msg_type = 3; int64 id = 4; }