mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-26 22:00:26 +08:00
增加工单相关接口定义
This commit is contained in:
22
pkg/rpc/protos/models/model_user_ticket_log.proto
Normal file
22
pkg/rpc/protos/models/model_user_ticket_log.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_admin.proto";
|
||||
import "models/model_user.proto";
|
||||
|
||||
// 工单日志
|
||||
message UserTicketLog {
|
||||
int64 id = 1;
|
||||
int64 adminId = 2;
|
||||
int64 userId = 3;
|
||||
int64 ticketId = 4;
|
||||
string status = 5;
|
||||
string comment = 6;
|
||||
int64 createdAt = 7;
|
||||
bool isReadonly = 8;
|
||||
|
||||
Admin admin = 30;
|
||||
User user = 31;
|
||||
}
|
||||
Reference in New Issue
Block a user