24 lines
534 B
C#
24 lines
534 B
C#
![]() |
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using Back.Common.Enums;
|
|||
|
|
|||
|
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
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
}
|