mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 14:10:21 +00:00
20 lines
No EOL
534 B
C#
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; }
|
|
}
|
|
} |