2024-03-30 15:10:36 +03:30
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2024-05-01 15:42:21 +03:30
|
|
|
|
using Shared.DTOs;
|
2024-03-30 15:10:36 +03:30
|
|
|
|
|
|
|
|
|
namespace Back.Data.Models
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class SubTicket
|
|
|
|
|
{
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
public int TicketID { get; set; }
|
|
|
|
|
public string Text { get; set; }
|
|
|
|
|
public string Date { get; set; }
|
|
|
|
|
public string Time { get; set; }
|
|
|
|
|
public SideType Type { get; set; }
|
|
|
|
|
|
|
|
|
|
#region Navigation
|
|
|
|
|
[ForeignKey("TicketID")]
|
|
|
|
|
public virtual Ticket Ticket { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|