syntax = "proto3"; package mgr; option go_package = "hilo/api/mgr;mgr"; import "google/protobuf/timestamp.proto"; enum UserStatus { None = 0; //正常 Normal = 1; //冻结 Freeze = 2; } message MMgrUserStatus { int64 id = 1; // id int64 user_id = 2; // 用户ID UserStatus status = 3; // 状态(1:永久冻结,2:封禁) google.protobuf.Timestamp end_time = 4; // 解禁截至时间 google.protobuf.Timestamp created_time = 5; google.protobuf.Timestamp updated_time = 6; }