using System.ComponentModel.DataAnnotations;
using Shared.DTOs;

namespace  Back.Data.Models
{
    //حتما مدیر میخواد
    
    public class Ticket
    {
        public int ID { get; set; }
        public string CompanyIDOrMobile { get; set; }
        public string Title { get; set; }
        public string CreateDate { get; set; }
        public string CreateTime { get; set; }
        public string? EndDate { get; set; }
        public string? EndTime { get; set; }
        public StatusTicket Status { get; set; }

        #region Navigation
        public virtual ICollection<SubTicket> SubTickets { get; set; }
        #endregion
    }
}
