Wonky.Client/Wonky.Entity/Views/ProductInventoryView.cs

41 lines
1.4 KiB
C#
Raw Normal View History

2023-02-07 09:01:03 +01:00
2022-07-04 11:14:24 +02:00
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
2022-07-01 10:02:29 +02:00
namespace Wonky.Entity.Views;
2022-06-23 16:56:33 +02:00
public class ProductInventoryView
{
/// <summary>
/// entity description
/// </summary>
2022-06-24 12:36:32 +02:00
public string Description { get; set; } = "";
/// <summary>
/// entity item number
/// </summary>
2022-06-23 16:56:33 +02:00
public string Sku { get; set; } = "";
/// <summary>
/// quantity bought over time
/// </summary>
2022-06-23 16:56:33 +02:00
public int Quantity { get; set; }
2022-12-22 08:19:08 +01:00
/// <summary>
/// Product has been discontinued
/// </summary>
public bool Discontinued { get; set; }
/// <summary>
2022-12-22 08:19:08 +01:00
/// Virtual checkmark
/// </summary>
public virtual bool Check { get; set; }
2022-06-23 16:56:33 +02:00
}