24 lines
528 B
C#
24 lines
528 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Shared.DTOs;
|
|
|
|
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
|
|
|
|
|
|
}
|
|
}
|