variant_dem_shoe_store/ChudoObuv/Models/StockItem.cs
2026-10-31 19:36:02 +04:00

20 lines
560 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChudoObuv.Models
{
/// <summary>
/// Товарная позиция: модель + размер с доступным количеством.
/// </summary>
public class StockItem
{
public int Id { get; set; }
public int ProductId { get; set; }
public decimal Size { get; set; }
public int Quantity { get; set; }
public string SizeText => Size.ToString("0.#");
}
}