45 lines
812 B
C#
45 lines
812 B
C#
#region Ressources extérieures
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
#endregion
|
|
|
|
namespace ProjetTheAlone.Classes
|
|
{
|
|
/// <summary>
|
|
/// Classe de définition des données
|
|
/// </summary>
|
|
public class C_T_typePlat
|
|
{
|
|
#region Données membres
|
|
private int _ID_typePlat;
|
|
private string _TP_nom;
|
|
#endregion
|
|
#region Constructeurs
|
|
public C_T_typePlat()
|
|
{ }
|
|
public C_T_typePlat(string TP_nom_)
|
|
{
|
|
TP_nom = TP_nom_;
|
|
}
|
|
public C_T_typePlat(int ID_typePlat_, string TP_nom_)
|
|
: this(TP_nom_)
|
|
{
|
|
ID_typePlat = ID_typePlat_;
|
|
}
|
|
#endregion
|
|
#region Accesseurs
|
|
public int ID_typePlat
|
|
{
|
|
get { return _ID_typePlat; }
|
|
set { _ID_typePlat = value; }
|
|
}
|
|
public string TP_nom
|
|
{
|
|
get { return _TP_nom; }
|
|
set { _TP_nom = value; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|