diff options
author | Alec Warner <antarus@gentoo.org> | 2016-10-18 18:28:12 -0700 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2016-10-18 18:28:12 -0700 |
commit | ec1187f94a8b0af72a7521cd7ecfd5a1e3b43d63 (patch) | |
tree | 60fdba7968ceb9438146c51b1599744153aeee59 /src/foundation.gentoo.org/golang/members/data/member.proto | |
parent | Add documentation for tracking foundation members. (diff) | |
download | antarus-ec1187f94a8b0af72a7521cd7ecfd5a1e3b43d63.tar.gz antarus-ec1187f94a8b0af72a7521cd7ecfd5a1e3b43d63.tar.bz2 antarus-ec1187f94a8b0af72a7521cd7ecfd5a1e3b43d63.zip |
Start tracking tools for tracking members.
Diffstat (limited to 'src/foundation.gentoo.org/golang/members/data/member.proto')
-rw-r--r-- | src/foundation.gentoo.org/golang/members/data/member.proto | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/foundation.gentoo.org/golang/members/data/member.proto b/src/foundation.gentoo.org/golang/members/data/member.proto new file mode 100644 index 0000000..2e35208 --- /dev/null +++ b/src/foundation.gentoo.org/golang/members/data/member.proto @@ -0,0 +1,26 @@ +package data; + +message MemberRoll { + // When we add a new member, they should receive this ID. + // We rely on clients to increment this ID during add operations. + optional int64 nextMemberId = 1; + // The list of members, if any. + repeated Member members = 2; +} + +message Member { + // Unique idenfier for each member. + optional int64 id = 1; + + // Email information + repeated string email = 2; + + // Name + repeated string name = 3; + + // microsecond timestamp of joining. + optional int64 join_timestamp_us = 4; + + // microsecond timestamp of any elections member participated in + repeated int64 voted_in_election = 5; +} |