using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestPrinterLable
    {
        [Required(ErrorMessage = "ProductIsEmpty")]
        public string ProductId { get; set; }
        [Required(ErrorMessage = "PnIsEmpty")]
        public string Pn { get; set; }

        public string LabelFileName { get; set; }

        public string FilePath { get; set; }
        public string UID { get; set; }
        [Required(ErrorMessage = "LabeltypeIsEmpty")]
        public string Labeltype { get; set; }
        public string Image { get; set; }
        public int Printtype { get; set; }
    }

    public class RequestUpdatePrinterLable : RequestPrinterLable
    {
        [Required(ErrorMessage = "IdIsEmpty")]
        public int Id { get; set; }
    }
}
