23 lines
444 B
Protocol Buffer
23 lines
444 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Course";
|
|
|
|
package greet;
|
|
import "Proto/Shared.proto";
|
|
|
|
|
|
message CreateCourseCommand{
|
|
string title = 1;
|
|
string description = 2;
|
|
UploadFile image = 3;
|
|
Id languageid = 4;
|
|
}
|
|
|
|
message UpdateCourseCommand{
|
|
Id Id = 1;
|
|
string title = 2;
|
|
string description = 3;
|
|
int32 order = 4;
|
|
optional UploadFile image = 5;
|
|
Id languageid = 6;
|
|
} |