增加工单相关接口定义

This commit is contained in:
刘祥超
2022-08-03 10:45:23 +08:00
parent 7ea8189c19
commit 526d72fd99
14 changed files with 7299 additions and 3102 deletions

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_user_ticket_category.proto";
import "models/model_user.proto";
import "models/model_user_ticket_log.proto";
// 工单
message UserTicket {
int64 id = 1;
int64 categoryId = 2;
int64 userId = 3;
string subject = 4;
string body = 5;
string status = 6;
int64 createdAt = 7;
int64 lastLogAt = 8;
UserTicketCategory userTicketCategory = 30;
User user = 31;
UserTicketLog latestUserTicketLog = 32;
}