proto/types/v1/user.proto
raw| 1 | syntax = "proto3"; |
| 2 | |
| 3 | package types.v1; |
| 4 | |
| 5 | import "google/protobuf/timestamp.proto"; |
| 6 | |
| 7 | option go_package = "types/v1;typesv1"; |
| 8 | |
| 9 | message User { |
| 10 | int64 id = 1; |
| 11 | string email = 2; |
| 12 | string profile_picture_url = 3; |
| 13 | string first_name = 4; |
| 14 | string last_name = 5; |
| 15 | bool email_verified = 6; |
| 16 | google.protobuf.Timestamp created_at = 7; |
| 17 | } |