20 lines
330 B
Protocol Buffer
20 lines
330 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Course";
|
|
|
|
package greet;
|
|
import "Proto/Shared.proto";
|
|
|
|
message CourseDTO {
|
|
Id Id = 1;
|
|
Id languageId = 2;
|
|
string title = 3;
|
|
string image = 4;
|
|
string description = 5;
|
|
}
|
|
|
|
|
|
message GetAllCourseDTO{
|
|
repeated CourseDTO Courses =1;
|
|
int32 totalData = 2;
|
|
} |