mirror of
https://github.com/sphildreth/roadie
synced 2024-11-22 20:23:16 +00:00
25 lines
No EOL
578 B
C#
25 lines
No EOL
578 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; }
|
|
|
|
[NotMapped]
|
|
public new bool? IsLocked { get; set; }
|
|
|
|
}
|
|
} |