syntax = "proto3";
option go_package = ".;pb";

enum CommentState {
  Release = 0; //发布
  Offline = 1; //下架
}

//评论数据
message DBComment {
  string id = 1;        //@go_tags(`bson:"_id"`) ID
  string heroid = 2;    //英雄id
  string heroobjid = 3; //目标英雄的实例id
  string uid = 4;       //发送用户id
  string stage = 5;     //区服id
  string avatar = 6;    //用户头像
  string uname = 7;     //用户名
  int32 ulv = 8;
  CommentState state = 9; //状态
  int64 ctime = 10;       //发布时间
  string content = 11;    //内容
  int32 starlist = 12;    //点赞数
}
