syntax = "proto3"; package user; option go_package = "git.ttmylife.com/zeuszhao/types/common/user;user"; option java_multiple_files = true; option java_package = "user"; enum AccountStatus { ACCOUNT_STATUS_UNDEFINED = 0; ACCOUNT_STATUS_ENABLED = 1; ACCOUNT_STATUS_DISABLED = 2; } enum AccountType { ACCOUNT_TYPE_UNDEFINED = 0; ACCOUNT_TYPE_WXOPENID = 1; } message AccountBody { uint32 id = 1; AccountBaseBody body = 2; } message AccountBaseBody { uint32 user_id = 1; AccountType type = 2; string account = 3; string password = 4; AccountStatus status = 5; }