Skip to content

Instantly share code, notes, and snippets.

@sparkmylife
Created January 30, 2022 12:22
syntax = "proto3";
/*
* Employee Schema
*/
message Employee {
string first_name = 1; // First Name
string last_name = 2; // Last Name
int32 emp_id = 3;
bytes profile_picture = 4;
float height = 5;
bool is_full_time = 6;
repeated string mobile_numbers = 7; // Optional list of mobile numbers
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment