Last active
February 9, 2021 12:57
-
-
Save ArminShoeibi/d9892d24254396f1c703057415204043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; /* version of the protocol buffers language */ | |
option csharp_namespace = "DNZ.TicketingSystem.GrpcServer.Protos"; | |
message CreateTicketDto { | |
int32 user_id = 1; | |
int32 category_id = 2; | |
string title = 3; | |
string description = 4; | |
} | |
message TicketCreationResultDto { | |
string result_message = 1; | |
int32 tracking_number = 2; | |
} | |
service TicketService { | |
rpc CreateTicket(CreateTicketDto) returns (TicketCreationResultDto); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment