sockscape/server/DAL/User.cs
2017-07-22 14:27:41 -05:00

26 lines
631 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SockScape.DAL {
public partial class User {
public long Id { get; set; }
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set; }
[Required]
public DateTime Joined { get; set; }
public DateTime? LastLogin { get; set; }
public virtual ICollection<Origin> Origins { get; set; }
public virtual Session Session { get; set; }
}
}