roadie/Roadie.Api.Library/Data/Request.cs
Steven Hildreth 533676d0b3 Play work
2019-01-08 22:43:19 -06:00

25 lines
No EOL
578 B
C#

using Roadie.Library.Identity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("request")]
public partial class Request : EntityBase
{
[Column("description")]
[MaxLength(500)]
[Required]
public string Description { get; set; }
public ApplicationUser User { get; set; }
[Column("userId")]
[Required]
public int UserId { get; set; }
[NotMapped]
public new bool? IsLocked { get; set; }
}
}