17 lines
263 B
Protocol Buffer
17 lines
263 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Course";
|
|
|
|
package greet;
|
|
import "Proto/Shared.proto";
|
|
|
|
message CourseDTO {
|
|
Id Id = 1;
|
|
string title = 2;
|
|
}
|
|
|
|
|
|
message GetAllCourseDTO{
|
|
repeated CourseDTO Courses =1;
|
|
int32 totalData = 2;
|
|
} |