first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class TicketMessage
{
[Key]
public Guid MessageId { get; set; }
public bool IsSentByAdmin { get; set; }
public string Message { get; set; }
public string? AttachmentURL { get; set; }
public int? FKDocumentId { get; set; }
[ForeignKey("FKDocumentId")]
public virtual UserDocument UserDocument { get; set; }
public Guid FKTicketId { get; set; }
[ForeignKey("FKTicketId")]
public virtual Ticket Ticket { get; set; }
public bool IsActive { get; set; } = true;
public DateTime CreateDate { get; set; } = DateTime.UtcNow;
}
}