Files
Core_Be/Models/UserDocument.cs
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

20 lines
637 B
C#

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;
}
}