roadie/Roadie.Api.Library/Data/Request.cs

25 lines
578 B
C#
Raw Normal View History

2018-11-02 22:20:36 +00:00
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; }
2019-01-09 04:43:19 +00:00
[NotMapped]
public new bool? IsLocked { get; set; }
2018-11-02 22:20:36 +00:00
}
}