begin scaffolding data access layer

This commit is contained in:
Aaron Po
2025-10-28 18:28:30 -04:00
parent 2f0bfd90b2
commit 738c055bf7
18 changed files with 1071 additions and 3 deletions

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
namespace DataAccessLayer;
public partial class UserAccount
{
public Guid UserAccountID { get; set; }
public string Username { get; set; } = null!;
public string FirstName { get; set; } = null!;
public string LastName { get; set; } = null!;
public string Email { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public DateTime? UpdatedAt { get; set; }
public DateTime DateOfBirth { get; set; }
public virtual ICollection<BeerPost> BeerPosts { get; set; } = new List<BeerPost>();
public virtual ICollection<BreweryPost> BreweryPosts { get; set; } = new List<BreweryPost>();
public virtual ICollection<Comment> Comments { get; set; } = new List<Comment>();
public virtual ICollection<Photo> Photos { get; set; } = new List<Photo>();
public virtual UserAvatar? UserAvatar { get; set; }
public virtual UserCredential? UserCredential { get; set; }
public virtual ICollection<UserFollow> UserFollowFollowings { get; set; } = new List<UserFollow>();
public virtual ICollection<UserFollow> UserFollowUserAccounts { get; set; } = new List<UserFollow>();
public virtual UserVerification? UserVerification { get; set; }
}