sockscape/server/DAL/User.cs

33 lines
1.2 KiB
C#
Raw Normal View History

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-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>();
}
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; }
}
}