first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class UserDocument
|
||||
{
|
||||
[Key]
|
||||
public int DocumentId { get; set; }
|
||||
public Guid? UserId { get; set; }
|
||||
public int FkDocumentTypeId { get; set; }
|
||||
[ForeignKey("FkDocumentTypeId")]
|
||||
public DocumentTypes DocumentType { get; set; }
|
||||
public string DocumentUrl { get; set; }
|
||||
public string DocumentName { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public DateTime Created_At { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user