using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestBasketType
    {
        public int ID { get; set; }
        [Required(ErrorMessage = "CategroyIsEmpty")]
        public string Category { get; set; }
        [Required(ErrorMessage = "ProductIDIsEmpty")]
        public int ProductID { get; set; }
        public int MaxCount { get; set; }

    }

    public class RequestBasketSetting
    {
        public int ID { get; set; }
        [Required(ErrorMessage = "NameIsEmpty")]
        public string Name { get; set; }
        [Required(ErrorMessage = "NumberIsEmpty")]
        public string Number { get; set; }
        //[Required(ErrorMessage = "MaterialIsEmpty")]
        public string Material { get; set; }
        public int Type { get; set; }
        public string Uses { get; set; }
        public string Length { get; set; }
        public string Wide { get; set; }
        public string Hight { get; set; }

    }
}
