go_dreamfactory/pb/proto/mail.proto
2022-06-06 18:38:03 +08:00

22 lines
648 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;pb";
message MailAttachment { // 附件
uint32 Itemid = 1; // 道具iD
uint32 ItemCount = 2; // 数量
}
//背包格子
message MailData {
string Title = 1; // 邮件标题
string Contex = 2; // 邮件内容
uint64 CreateTime = 3; // 发送时间
uint64 DueTime = 4; // 过期时间
bool Check = 5; // 是否查看
repeated MailAttachment Items = 6; // 附件
}
//用户背包
message DB_UserMailData {
uint32 UserId = 1; //tags:{bson:"_id"}用户Id
repeated MailData mails = 2; // 邮件列表
}