﻿using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;

namespace YetAnotherListApp.Models.Basket
{
    public sealed class SwitchBasketItemStatusRequestViewModel
    {
        [JsonProperty("basketId")]
        public string BasketId { get; set; }

        [JsonProperty("itemId")]
        public string ItemId { get; set; }

        [JsonProperty("userName")]
        [Required]
        public string UserName { get; set; }
    }
}
