roadie/Roadie.Api.Library/Data/Request.cs
Steven Hildreth 6a985a7316 Bug Squashing
2019-01-29 21:16:49 -06:00

24 lines
No EOL
560 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")]
public int? UserId { get; set; }
[NotMapped]
public new bool? IsLocked { get; set; }
}
}