using System;

namespace MDL.DTOs
{
    public class TagInstanceDTO
    {
        public long Id { get; set; }
        public string TagType { get; set; }
        public int TemplateId { get; set; }
        public string NeutralWaybillNumber { get; set; }
        public int CustomerId { get; set; }
        public string Status { get; set; }
        public DateTime TriggerTime { get; set; }
        public DateTime CreatedAt { get; set; }
        public DateTime UpdatedAt { get; set; }
    }

    public class CreateTagInstanceDTO
    {
        public string TagType { get; set; }
        public string NeutralWaybillNumber { get; set; }
        public int CustomerId { get; set; }
    }

    public class TriggerCheckDTO
    {
        public string ScanCode { get; set; }
        public string ScanType { get; set; }
        public string Location { get; set; }
        public DateTime ScanTime { get; set; }

        public string Label { get; set; }
    }

    public class GenerateTagDTO
    {
        public string TagType { get; set; }
        public string NeutralWaybillNumber { get; set; }
        public int CustomerId { get; set; }
        public string GenerateType { get; set; } // MANUAL or AUTO
    }

    public class RenderTagDTO
    {
        public long TagInstanceId { get; set; }
        public string RenderFormat { get; set; } // HTML or ZPL
    }
}
