123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-applete-gateway/pb/v1";
- message ChargeConfAddRequest {
- int64 garden_id = 1;
- // 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他
- int32 charge_type = 2;
- // 费用名称
- string charge_name = 3;
- // 缴费时间类型 1 周期性缴 2 一次性
- int32 charge_time_type = 4;
- // 账单生成周期 1 按月 2 按季度 3 半年 4 年
- int32 bill_period = 5;
- // 账单周期计算方式 1自然周期 2 费用生效时间
- int32 bill_period_type = 6;
- // 1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义
- int32 charge_basis = 7;
- // 滞纳金开启关闭
- bool late_fee_enable = 8;
- // 固定费用
- int64 fix_amount = 9;
- // 固定费用别名
- string fix_amount_name = 10;
- // 费用生效时间
- int64 charge_effective_time = 11;
- // 单价
- int64 unit_price = 12;
- // 账单生成后xx天开始算滞纳金
- int64 late_fee_day = 13;
- // 滞纳金封顶天数
- int64 late_fee_max_days = 14;
- // 滞纳金比例 1代表万分之1
- int64 late_fee_percent = 15;
- }
- message ChargeConfAddReply {
- int64 id = 1;
- }
- message ChargeConfUpdateRequest {
- int64 garden_id = 1;
- // 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他
- int32 charge_type = 2;
- // 费用名称
- string charge_name = 3;
- // 缴费时间类型 1 周期性缴 2 一次性
- int32 charge_time_type = 4;
- // 账单生成周期 1 按月 2 按季度 3 半年 4 年
- int32 bill_period = 5;
- // 账单周期计算方式 1自然周期 2 费用生效时间
- int32 bill_period_type = 6;
- // 1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义
- int32 charge_basis = 7;
- // 滞纳金开启关闭
- bool late_fee_enable = 8;
- // 固定费用
- int64 fix_amount = 9;
- // 固定费用别名
- string fix_amount_name = 10;
- // 费用生效时间
- int64 charge_effective_time = 11;
- // 单价
- int64 unit_price = 12;
- // 账单生成后xx天开始算滞纳金
- int64 late_fee_day = 13;
- // 滞纳金封顶天数
- int64 late_fee_max_days = 14;
- // 滞纳金比例 1代表万分之1
- int64 late_fee_percent = 15;
- int64 id = 16;
- }
- message ChargeConfUpdateReply {
- ChargeConfUpdateRequest origin = 1;
- }
- message ChargeConfDelRequest {
- int64 id = 1;
- int64 garden_id = 2;
- }
- message ChargeConfDelReply {
- ChargeConfUpdateRequest origin = 1;
- }
- message ChargeBindRequest {
- int64 garden_id = 1;
- repeated int64 obj_ids = 2;
- int64 charge_id = 3;
- int64 start = 4;
- int64 end = 5;
- int64 vehicle_fee = 6;
- }
- message ChargeBindReply {
- }
- message ChargeUnbindRequest {
- int64 obj_id = 1;
- int64 garden_id = 2;
- int64 charge_id = 3;
- }
- message ChargeUnbindData {
- int64 id = 1;
- int64 gargen_id = 2;
- int64 charge_id = 3;
- int64 obj_id = 4;
- }
- message ChargeUnbindReply {
- ChargeUnbindData origin = 1;
- }
- message ChargeConfListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int32 charge_type = 3;
- int32 charge_name = 4;
- int64 garden_id = 5;
- }
- message ChargeConfItem {
- int64 garden_id = 1;
- // 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他
- int32 charge_type = 2;
- // 费用名称
- string charge_name = 3;
- // 缴费时间类型 1 周期性缴 2 一次性
- int32 charge_time_type = 4;
- // 账单生成周期 1 按月 2 按季度 3 半年 4 年
- int32 bill_period = 5;
- // 账单周期计算方式 1自然周期 2 费用生效时间
- int32 bill_period_type = 6;
- // 1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义
- int32 charge_basis = 7;
- // 滞纳金开启关闭
- bool late_fee_enable = 8;
- // 固定费用
- int64 fix_amount = 9;
- // 固定费用别名
- string fix_amount_name = 10;
- // 费用生效时间
- int64 charge_effective_time = 11;
- // 单价
- int64 unit_price = 12;
- // 账单生成后xx天开始算滞纳金
- int64 late_fee_day = 13;
- // 滞纳金封顶天数
- int64 late_fee_max_days = 14;
- // 滞纳金比例 1代表万分之1
- int64 late_fee_percent = 15;
- int64 id = 16;
- }
- message ChargeConfListReply {
- int64 total = 1;
- int64 page = 2;
- repeated ChargeConfItem list = 3;
- }
- // 绑定了某项目的房屋列表
- message ChargeHouseBindedListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeHouseData {
- int64 house_id = 1;
- // 门牌号
- string house_number = 2;
- // 房屋号
- string house_name = 3;
- int32 house_type = 4;
- int64 layer = 5;
- double house_area = 6;
- double house_used_area = 7;
- int32 house_status = 8;
- int64 start = 9;
- }
- message ChargeHouseBindedListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeHouseData list = 3;
- }
- // 未绑定某项目的房屋列表(对物业和水电:只要绑定了一种类型的项目,不管是否绑定本项目都不在该列表)
- message ChargeHouseNotBindListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- int64 building_id = 5;
- int64 unit_id = 6;
- int64 layer = 7;
- int64 house_id = 8;
- }
- message ChargeHouseNotBindListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeHouseData list = 3;
- }
- // 绑定了某项目的车位列表
- message ChargeSpaceBindedListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeSpaceData {
- int64 space_id = 1;
- string space_number = 2;
- string park_name = 3;
- string park_number = 4;
- int32 space_type = 5;
- double space_area = 6;
- int32 space_status = 7;
- int64 start = 8;
- }
- message ChargeSpaceBindedListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeSpaceData list = 3;
- }
- // 未绑定某项目的车位列表(只要绑定了一种类型的项目,不管是否绑定本项目都不在该列表)
- message ChargeSpaceNotBindListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeSpaceNotBindListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeSpaceData list = 3;
- }
- // 绑定了某项目的车辆列表
- message ChargeVehicleBindedListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeVehicleData {
- int64 vehicle_id = 1;
- string plate_no = 2;
- int32 vehicle_type = 3;
- string brand = 4;
- string displacement = 5;
- int32 seat = 6;
- int64 start = 7;
- int64 end = 8;
- }
- message ChargeVehicleBindedListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeVehicleData list = 3;
- }
- // 未绑定某项目的车辆列表(只要绑定了一种类型的项目,不管是否绑定本项目都不在该列表)
- message ChargeVehicleNotBindListRequest {
- int64 garden_id = 1;
- int64 charge_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeVehicleNotBindListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeVehicleData list = 3;
- }
- // 收费中的房屋列表
- message ChargeHouseGroupRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- }
- message ChargeHouseGroupItem {
- int64 house_id = 1;
- string house_name = 2;
- int64 layer = 3;
- int32 house_type = 4;
- int32 house_status = 5;
- double house_area = 6;
- double house_used_area = 7;
- // 房屋与物业费的绑定id
- int64 house_property_bind_id=8;
- // 是否有欠费账单
- bool has_unpay_bill = 9;
- }
- message ChargeHouseGroupReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeHouseGroupItem list = 3;
- }
- // 收费中的车位列表
- message ChargeSpaceGroupRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- }
- message ChargeSpaceGroupItem {
- int64 space_id = 1;
- double space_area = 2;
- int32 space_type = 3;
- string space_number = 4;
- string park_number = 5;
- string park_name = 6;
- int32 space_status = 7;
- // 是否有欠费账单
- bool has_unpay_bill = 8;
- // 车位与费用的绑定id
- int64 space_bind_id=9;
- }
- message ChargeSpaceGroupReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeSpaceGroupItem list = 3;
- }
- // 收费中的车辆列表
- message ChargeVehicleGroupRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- }
- message ChargeVehicleGroupItem {
- int64 vehicle_id = 1;
- string plate_no = 2;
- string displacement = 3;
- int32 vehicle_type = 4;
- string brand = 5;
- int32 seat = 6;
- }
- message ChargeVehicleGroupReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeVehicleGroupItem list = 3;
- }
- // 抄表相关
- message PowerRecordAddRequest {
- int64 garden_id = 1;
- int64 house_id = 2;
- double last_amount = 3;
- double current_amount = 4;
- int64 start = 5;
- int64 end = 6;
- int64 read_at = 7;
- string comment = 8;
- int32 charge_type = 9;
- }
- message PowerRecordAddReply {
- }
- message PowerRecordUpdateRequest {
- int64 garden_id = 1;
- int64 house_id = 2;
- double last_amount = 3;
- double current_amount = 4;
- int64 start = 5;
- int64 end = 6;
- int64 read_at = 7;
- string comment = 8;
- int64 id = 9;
- int32 charge_type = 10;
- }
- message PowerRecordUpdateReply {
- PowerRecordUpdateRequest origin = 1;
- }
- message PowerRecordBatchAddRequest {
- int64 garden_id = 1;
- int32 charge_type = 2;
- repeated PowerRecordBatchData list = 3;
- }
- message PowerRecordBatchData {
- double last_amount = 1;
- double current_amount = 2;
- int64 start = 3;
- int64 end = 4;
- int64 read_at = 5;
- string comment = 6;
- string building_number = 7;
- int64 unit_number = 8;
- string house_number = 9;
- }
- message PowerRecordBatchAddReply {
- }
- message PowerRecordDelRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message PowerRecordDelReply {
- PowerRecordUpdateRequest origin = 1;
- }
- message PowerRecordListRequest {
- int64 house_id = 1;
- int32 charge_type = 2;
- int64 garden_id = 3;
- int32 pay_status = 4;
- int64 page = 5;
- int64 page_size = 6;
- }
- message PowerRecordItem {
- int64 id = 1;
- int32 charge_type = 2;
- double last_amount = 3;
- double current_amount = 4;
- int64 start = 5;
- int64 end = 6;
- int64 read_at = 7;
- string comment = 8;
- int64 house_id = 9;
- string house_name = 10;
- }
- message PowerRecordListReply {
- int64 total = 1;
- int64 page = 2;
- repeated PowerRecordItem list = 3;
- }
- message ChargeBillPayRequest {
- int64 garden_id = 1;
- repeated int64 bill_ids = 2;
- repeated int64 bind_ids = 3;
- int32 pay_type = 4;
- int64 should_pay_amount = 5;
- int64 pay_amount = 6;
- string comment = 7;
- }
- message ChargeBillPayReply {
- string order_id = 1;
- }
- // 欠费列表
- message ChargeUnpayListRequest {
- int64 garden_id = 1;
- int64 obj_id = 2;
- int32 obj_type = 3;
- int64 page = 4;
- int64 page_size = 5;
- }
- message ChargeUnpayItem {
- int64 bind_id = 1;
- int32 charge_type = 2;
- string charge_name = 3;
- int32 charge_time_type = 4;
- int64 bill_count = 5;
- int64 unpay_amount = 6;
- }
- message ChargeUnpayListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeUnpayItem list = 3;
- }
- // 查看费用,费项列表
- message ChargeListRequest {
- int64 garden_id = 1;
- int64 obj_id = 2;
- int32 obj_type = 3;
- int64 page = 4;
- int64 page_size = 5;
- }
- message ChargeItem {
- int64 bind_id = 1;
- int32 charge_type = 2;
- string charge_name = 3;
- int32 charge_time_type = 4;
- string created_at = 5;
- string start = 6;
- string end = 7;
- string status = 8;
- string desc = 9;
- }
- message ChargeListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeItem list = 3;
- }
- // 费项账单
- message ChargeBillListRequest {
- int64 garden_id = 1;
- int64 bind_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- }
- message ChargeBillItem {
- string start = 1;
- string end = 2;
- int32 charge_type = 3;
- string charge_name = 4;
- int64 amount = 5;
- double last_used = 6;
- double current_used = 7;
- int64 late_fee = 8;
- int64 bill_id = 9;
- string charge_desc = 10;
- }
- message ChargeBillListReply {
- int64 total = 1;
- int64 page = 2;
- int32 charge_type = 3;
- string charge_name = 4;
- int64 should_pay_amount = 5;
- repeated ChargeBillItem list = 6;
- }
- // 应收账单中的对象列表
- message ChargeBillObjListRequest {
- int64 garden_id = 1;
- int64 page = 2;
- int64 page_size = 4;
- }
- message ChargeBillObjItem {
- string obj_name = 1;
- int64 obj_id = 2;
- int32 obj_type = 3;
- int64 bill_count = 4;
- int64 should_pay_amount = 5;
- }
- message ChargeBillObjListReply {
- int64 total = 1;
- int64 page = 2;
- repeated ChargeBillObjItem list = 3;
- }
- // 对象的账单明细
- message ChargeObjBillListRequest {
- int64 garden_id = 1;
- int64 obj_id = 2;
- int64 page = 3;
- int64 page_size = 4;
- int32 obj_type = 5;
- bool all = 6;
- string obj_name = 7;
- string charge_name = 8;
- int32 charge_type = 9;
- }
- message ChargeObjBillListReply {
- int64 total = 1;
- int64 page = 2;
- repeated ChargeBillItem list = 3;
- }
- // 变更时间
- message ChargeTimeSetRequest {
- int64 garden_id = 1;
- int64 start = 2;
- int64 end = 3;
- int64 bind_id = 4;
- }
- message ChargeTimeSetReply {
- }
- message ChargeOrderTicketRequest {
- int64 garden_id = 1;
- string order_id = 2;
- }
- message ChargeOrderTicketItem {
- // 费用类型
- int32 charge_type = 1;
- // 费用名称
- string charge_name = 2;
- // 收费范围
- string start = 3;
- string end = 4;
- // 房屋/车位/车辆
- string obj_name = 5;
- // 支付时间
- string pay_time = 6;
- // 单价
- int64 unit_price = 7;
- // 固定费用
- int64 fix_amount = 8;
- // 金额 不包含滞纳金
- int64 amount = 9;
- // 滞纳金
- int64 late_fee = 10;
- // 面积/用量
- double area_used = 11;
- // 1 房屋 2 车位 3 车辆
- int32 obj_type = 12;
- // 自定义费用
- int64 custom_fee = 13;
- }
- message ChargeOrderTicketReply {
- // 备注
- string comment = 1;
- // 应付总金额 包含滞纳金
- int64 should_pay_amount = 2;
- // 账单小票条目
- repeated ChargeOrderTicketItem list = 3;
- }
- // 预缴获取金额信息
- message ChargePrePayInfoRequest {
- int64 garden_id = 1;
- int64 bind_id = 2;
- int64 months = 3;
- }
- message ChargePrePayInfoReply {
- string charge_name = 1;
- int32 charge_type = 2;
- string charge_desc = 3;
- int64 should_pay_amount = 4;
- }
- // 物业或车位费预缴
- message ChargePrePayRequest {
- int64 garden_id = 1;
- int64 bind_id = 2;
- int64 months = 3;
- int64 should_pay_amount = 4;
- int64 pay_amount = 5;
- string comment = 6;
- int32 pay_type = 7;
- }
- message ChargePrePayReply {
- string order_id = 1;
- }
- // 已缴账单列表
- message ChargePayedBillListRequest {
- int64 garden_id = 1;
- string obj_name = 2;
- int64 page = 3;
- int64 page_size = 4;
- int32 charge_type = 5;
- string charge_name = 6;
- int64 house_id = 7;
- int64 pay_time = 8;
- int32 obj_type = 9;
- }
- message ChargePayedBillItem {
- string start = 1;
- string end = 2;
- int32 charge_type = 3;
- string charge_name = 4;
- int64 amount = 5;
- double last_used = 6;
- double current_used = 7;
- int64 late_fee = 8;
- int64 bill_id = 9;
- string charge_desc = 10;
- string pay_time = 11;
- int32 pay_type = 12;
- string obj_name = 13;
- int32 obj_type = 14;
- }
- message ChargePayedBillListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargePayedBillItem list = 3;
- }
- // 作废账单
- message ChargeDelBillRequest {
- int64 garden_id = 1;
- int64 bill_id = 2;
- string del_reason = 3;
- }
- message ChargeDelBillReply {
- }
- // 恢复账单
- message ChargeRecoverBillRequest {
- int64 garden_id = 1;
- int64 bill_id = 2;
- }
- message ChargeRecoverBillReply {
- }
- // 作废账单列表
- message ChargeDelBillListRequest {
- int64 garden_id = 1;
- string obj_name = 2;
- int64 page = 3;
- int64 page_size = 4;
- int32 charge_type = 5;
- string charge_name = 6;
- int32 obj_type = 7;
- }
- message ChargeDelBillItem {
- string start = 1;
- string end = 2;
- int32 charge_type = 3;
- string charge_name = 4;
- int64 amount = 5;
- double last_used = 6;
- double current_used = 7;
- int64 late_fee = 8;
- int64 bill_id = 9;
- string charge_desc = 10;
- string pay_time = 11;
- int32 pay_type = 12;
- string obj_name = 13;
- string del_at = 14;
- string del_reason = 15;
- string household_name = 16;
- string household_phone = 17;
- int32 obj_type = 18;
- }
- message ChargeDelBillListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeDelBillItem list = 3;
- }
- // 缴费订单列表
- message ChargeOrderListRequest {
- int64 garden_id = 1;
- string obj_name = 2;
- int64 page = 3;
- int64 page_size = 4;
- int32 pay_type = 5;
- string order_id = 6;
- int32 pay_status = 7;
- }
- message ChargeOrderItem {
- string order_id = 1;
- string pay_time = 2;
- int32 pay_type = 3;
- int64 should_pay_amount = 4;
- int64 pay_amount = 5;
- string obj_name = 6;
- string paying_desc = 7;
- string transaction_id = 8;
- string comment = 9;
- // 1 代缴 2 支付中 3 已支付
- int32 status = 10;
- }
- message ChargeOrderListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ChargeOrderItem list = 3;
- }
- // 订单详情
- message ChargeOrderInfoRequest {
- int64 garden_id = 1;
- string order_id = 2;
- }
- message ChargeOrderBillItem {
- string start = 1;
- string end = 2;
- int32 charge_type = 3;
- string charge_name = 4;
- int64 amount = 5;
- double last_used = 6;
- double current_used = 7;
- int64 late_fee = 8;
- int64 bill_id = 9;
- string charge_desc = 10;
- string obj_name = 13;
- }
- message ChargeOrderInfoReply {
- repeated ChargeOrderBillItem list = 1;
- }
- // 确认支付
- message ChargeOrderPayRequest {
- int64 garden_id = 1;
- string order_id = 2;
- int64 pay_time = 3;
- string transaction_id = 4;
- int64 amount = 5;
- bool is_comfirm = 6;
- }
- message ChargeOrderPayReply {
- }
- // 取消订单
- message ChargeOrderCancelRequest {
- int64 garden_id = 1;
- string order_id = 2;
- }
- message ChargeOrderCancelReply {
- }
- message PropertyPackageAddRequest {
- int64 garden_id = 1;
- // 1 按月 2 按文本
- int32 package_type = 2;
- // 赠送月数
- int64 give_months = 3;
- // 增送文本
- string give_content = 4;
- // 购买月数
- int64 pay_months = 5;
- bool enable = 6;
- }
- message PropertyPackageAddReply {
- int64 id = 1;
- }
- message PropertyPackageUpdateRequest {
- int64 garden_id = 1;
- // 1 按月 2 按文本
- int32 package_type = 2;
- // 赠送月数
- int64 give_months = 3;
- // 增送文本
- string give_content = 4;
- // 购买月数
- int64 pay_months = 5;
- bool enable = 6;
- int64 id = 7;
- }
- message PropertyPackageUpdateReply {
- PropertyPackageUpdateRequest origin = 1;
- }
- message PropertyPackageDelRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message PropertyPackageDelReply {
- PropertyPackageUpdateRequest origin = 1;
- }
- message PropertyPackageItem {
- // 1 按月 2 按文本
- int32 package_type = 2;
- // 赠送月数
- int64 give_months = 3;
- // 增送文本
- string give_content = 4;
- // 购买月数
- int64 pay_months = 5;
- bool enable = 6;
- int64 id = 7;
- }
- message PropertyPackageListRequest {
- int64 garden_id = 1;
- int64 page = 2;
- int64 page_size = 3;
- }
- message PropertyPackageListReply {
- int64 page = 1;
- int64 total = 2;
- repeated PropertyPackageItem list = 3;
- }
- message ChargeGenerateBillRequest {
- int64 garden_id = 1;
- int64 bind_id = 2;
- int64 end = 3;
- }
- message ChargeGenerateBillReply {
- }
- message ChargeUrgeSetRequest {
- int64 urge_day = 1;
- int32 urge_target = 2;
- int32 urge_msg_type = 3;
- int64 garden_id = 4;
- int64 id = 5;
- }
- message ChargeUrgeSetReply {
- }
- message ChargeUrgeInfoRequest {
- int64 garden_id = 1;
- }
- message ChargeUrgeInfoReply {
- int64 urge_day = 1;
- int32 urge_target = 2;
- int32 urge_msg_type = 3;
- int64 id = 4;
- }
- message ChargeUrgeRequest {
- int64 garden_id = 1;
- int64 obj_id = 2;
- int32 obj_type = 3;
- int64 should_pay_amount = 4;
- }
- message ChargeUrgeReply {
- }
- // 欠费缴费用户支付
- message ChargeBillPayByHouseholdRequest {
- int64 garden_id = 1;
- repeated int64 bill_ids = 2;
- repeated int64 bind_ids = 3;
- int32 pay_type = 4;
- int64 should_pay_amount = 5;
- int64 pay_amount = 6;
- string comment = 7;
- int64 household_uid = 8;
- string input_ip = 9;
- string open_id = 10;
- // 是否为二维码收款
- bool native = 11;
- }
- message ChargeBillPayByHouseholdReply {
- string order_id = 1;
- // 三方预支付信息
- string prepay_info = 2;
- // 二维码,native 支付时有值
- string code_url = 3;
- }
|