Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a31b0f
commit 8aea18f
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace MediatR_Demo.Core.Enums | ||
{ | ||
public enum MovieGenre | ||
{ | ||
Action, | ||
Comedy, | ||
Drama, | ||
Fantasy, | ||
Horror, | ||
Mystery, | ||
Romance, | ||
Thriller, | ||
Western | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using MediatR_Demo.Core.Enums; | ||
|
||
namespace MediatR_Demo.Domain.Entities.Movie | ||
{ | ||
public class Movie | ||
{ | ||
public long Id { get; set; } | ||
public string? Title { get; set; } | ||
public string? Description { get; set; } | ||
public MovieGenre Genre { get; set; } | ||
public int? Rating { get; set; } | ||
} | ||
} |