//------------------------------------------------------------------------------
//
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//
//------------------------------------------------------------------------------
namespace BuddyFinance.Model
{
using System;
using System.Collections.Generic;
public partial class User
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public User()
{
this.ActivityLogs = new HashSet();
this.CashDeposits = new HashSet();
this.CashWithdrawals = new HashSet();
this.ManualDeductions = new HashSet();
this.ProfileApprovals = new HashSet();
this.ProfileSuspensions = new HashSet();
}
public int Id { get; set; }
public string UserName { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string MobileNumber { get; set; }
public string Password { get; set; }
public string PasswordHash { get; set; }
public Nullable SignUpDate { get; set; }
public Nullable LastLoginDate { get; set; }
public bool MustChangePassword { get; set; }
public int ProfileId { get; set; }
public int RoleId { get; set; }
public bool IsActive { get; set; }
public bool AccountVerified { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ActivityLogs { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection CashDeposits { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection CashWithdrawals { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ManualDeductions { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileApprovals { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileSuspensions { get; set; }
public virtual UserRole UserRole { get; set; }
public virtual Profile Profile { get; set; }
}
}