mirror of
https://github.com/sphildreth/roadie
synced 2024-11-23 04:33:16 +00:00
21 lines
No EOL
508 B
C#
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; }
|
|
}
|
|
} |