Skip to content

Commit

Permalink
#Add Notifications data model
Browse files Browse the repository at this point in the history
  • Loading branch information
SariaAlam committed Oct 17, 2023
1 parent 1c84bdc commit 37d95ba
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 0 deletions.
216 changes: 216 additions & 0 deletions internal/model/notifications.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions internal/model/notifications.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
syntax = "proto3";

package model;
option go_package = ".;model";
import "google/protobuf/timestamp.proto";

message Notifications{
string title= 1;
string body= 2;
string source = 3;
string image = 4;
string sound= 5 ;
google.protobuf.Timestamp time = 6 ;
string channel = 7;
int64 priority_level = 8;
}

0 comments on commit 37d95ba

Please sign in to comment.