2017-08-22 20:59:41 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <auto-generated>
|
|
|
|
// 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.
|
|
|
|
// </auto-generated>
|
|
|
|
//------------------------------------------------------------------------------
|
2017-06-02 21:02:48 +00:00
|
|
|
|
2017-08-22 20:59:41 +00:00
|
|
|
namespace SockScape.DAL
|
|
|
|
{
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
public partial class User
|
|
|
|
{
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
|
|
public User()
|
|
|
|
{
|
|
|
|
this.Sessions = new HashSet<Session>();
|
|
|
|
}
|
|
|
|
|
2017-06-01 20:54:32 +00:00
|
|
|
public long Id { get; set; }
|
|
|
|
public string Username { get; set; }
|
|
|
|
public string Password { get; set; }
|
2017-08-22 20:59:41 +00:00
|
|
|
public System.DateTime Joined { get; set; }
|
|
|
|
public Nullable<System.DateTime> LastLogin { get; set; }
|
|
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
|
|
public virtual ICollection<Session> Sessions { get; set; }
|
2017-06-01 20:54:32 +00:00
|
|
|
}
|
|
|
|
}
|