DTOs for index mostly done, doing DB models
This commit is contained in:
21
SVSim.Database/Models/ViewerInfo.cs
Normal file
21
SVSim.Database/Models/ViewerInfo.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
[Owned]
|
||||
public class ViewerInfo
|
||||
{
|
||||
public DateTime BirthDate { get; set; }
|
||||
public string CountryCode { get; set; } = string.Empty;
|
||||
public int MaxFriends { get; set; }
|
||||
public bool IsOfficial { get; set; }
|
||||
public bool IsOfficialMarkDisplayed { get; set; }
|
||||
|
||||
#region Navigation Properties
|
||||
|
||||
public EmblemEntry SelectedEmblem { get; set; } = new EmblemEntry();
|
||||
|
||||
public DegreeEntry SelectedDegree { get; set; } = new DegreeEntry();
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user