- Suivi des mouvements stocks (table, crud, vue) - Placeholder pour picker fournisseur (vue) - Historique des mouvements stock (vue)
22 lines
605 B
C#
22 lines
605 B
C#
using SQLite;
|
|
|
|
namespace MauiAppStock.Models
|
|
{
|
|
public class Piece
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public string? Nom { get; set; }
|
|
public string? Description { get; set; }
|
|
public double Prix { get; set; }
|
|
public int Stock { get; set; }
|
|
public string? Fournisseur { get; set; }
|
|
|
|
// public int Appareil { get; set; }
|
|
|
|
[Ignore]
|
|
public bool EstRecommandee { get; set; }
|
|
|
|
public string DetailView { get { return " ID : " + Id + @" - " + Description; } }
|
|
}
|
|
} |