Skip to content

Commit

Permalink
feat: Add nested proto definition for StudentCountData
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki798 committed Oct 19, 2024
1 parent 7651753 commit 023eca6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions campusapis/staff/v1/campus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -835,3 +835,25 @@ message NiceResponse {
google.protobuf.Any data = 4;
}

message StudentCountData {
message Degree {
string degree_name = 1;
message Grade {
string grade_name = 1;
int32 count = 2;
message College {
string college_name = 1;
int32 count = 2;
message Major {
string major_name = 1;
int32 count = 2;
}
repeated Major majors = 3;
}
repeated College colleges = 3;
}
repeated Grade grades = 2;
}
repeated Degree degrees = 1;
}

0 comments on commit 023eca6

Please sign in to comment.