mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-30 17:30:25 +08:00
对服务增加基础的数据统计/部分代码分Package
This commit is contained in:
18
pkg/rpc/protos/models/model_user_bill.proto
Normal file
18
pkg/rpc/protos/models/model_user_bill.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
float amount = 6;
|
||||
string month = 7;
|
||||
bool isPaid = 8;
|
||||
int64 paidAt = 9;
|
||||
}
|
||||
Reference in New Issue
Block a user