Files
EdgeCommon/pkg/rpc/protos/models/model_user_bill.proto

24 lines
435 B
Protocol Buffer

syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_user.proto";
message UserBill {
int64 id = 1;
User user = 2;
string type = 3;
string typeName = 4;
string description = 5;
double amount = 6;
string month = 7;
bool isPaid = 8;
int64 paidAt = 9;
string code = 10;
bool canPay = 11;
string dayFrom = 12;
string dayTo = 13;
string pricePeriod = 14;
bool isOverdue = 15; // 是否已逾期
}