2020-12-11 21:39:17 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
2021-01-25 16:41:30 +08:00
|
|
|
import "models/model_user.proto";
|
2020-12-11 21:39:17 +08:00
|
|
|
|
|
|
|
|
message UserBill {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
User user = 2;
|
|
|
|
|
string type = 3;
|
|
|
|
|
string typeName = 4;
|
|
|
|
|
string description = 5;
|
2022-10-23 16:29:08 +08:00
|
|
|
double amount = 6;
|
2020-12-11 21:39:17 +08:00
|
|
|
string month = 7;
|
|
|
|
|
bool isPaid = 8;
|
|
|
|
|
int64 paidAt = 9;
|
2021-11-11 08:31:32 +08:00
|
|
|
string code = 10;
|
2022-01-23 19:16:58 +08:00
|
|
|
bool canPay = 11;
|
2022-10-14 10:03:49 +08:00
|
|
|
string dayFrom = 12;
|
|
|
|
|
string dayTo = 13;
|
|
|
|
|
string pricePeriod = 14;
|
2022-10-21 15:44:36 +08:00
|
|
|
bool isOverdue = 15; // 是否已逾期
|
2020-12-11 21:39:17 +08:00
|
|
|
}
|