更新整理
This commit is contained in:
27
WPFluent.Gallery/Models/Product.cs
Normal file
27
WPFluent.Gallery/Models/Product.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// This Source Code Form is subject to the terms of the MIT License.
|
||||
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
|
||||
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
|
||||
// All Rights Reserved.
|
||||
|
||||
namespace WPFluent.Gallery.Models;
|
||||
|
||||
public class Product
|
||||
{
|
||||
public int ProductId { get; set; }
|
||||
|
||||
public int ProductCode { get; set; }
|
||||
|
||||
public string? ProductName { get; set; }
|
||||
|
||||
public string? QuantityPerUnit { get; set; }
|
||||
|
||||
public Unit Unit { get; set; }
|
||||
|
||||
public double UnitPrice { get; set; }
|
||||
|
||||
public string UnitPriceString => UnitPrice.ToString("F2");
|
||||
|
||||
public int UnitsInStock { get; set; }
|
||||
|
||||
public bool IsVirtual { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user