roadie/Roadie.Api.Library/Data/Request.cs
2019-07-03 11:21:29 -05:00

20 lines
No EOL
534 B
C#

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