roadie/Roadie.Api.Library/Data/Request.cs
2018-12-26 13:39:13 -06:00

21 lines
No EOL
508 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; }
}
}