Files
VizhTalk/VizhTalk.Services.Grpc.Learning/Proto/Courses/Commands.proto
T
2025-09-12 19:46:59 +04:30

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;
}