mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use enumerations in EF models.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
{
|
||||
public class News
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Date { get; set; }
|
||||
public int Type { get; set; }
|
||||
public int AddedId { get; set; }
|
||||
public int Id { get; set; }
|
||||
public string Date { get; set; }
|
||||
public NewsType Type { get; set; }
|
||||
public int AddedId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user