ProjetThe/ProjetTheAlone/Model/C_T_repa.cs

57 lines
1.2 KiB
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_repa
{
#region Données membres
private int _ID_repa;
private int? _ID_listPlat;
private int? _ID_typeRepa;
private DateTime _R_Date;
#endregion
#region Constructeurs
public C_T_repa()
{ }
public C_T_repa(int? ID_listPlat_, int? ID_typeRepa_, DateTime R_Date_)
{
ID_listPlat = ID_listPlat_;
ID_typeRepa = ID_typeRepa_;
R_Date = R_Date_;
}
public C_T_repa(int ID_repa_, int? ID_listPlat_, int? ID_typeRepa_, DateTime R_Date_)
: this(ID_listPlat_, ID_typeRepa_, R_Date_)
{
ID_repa = ID_repa_;
}
#endregion
#region Accesseurs
public int ID_repa
{
get { return _ID_repa; }
set { _ID_repa = value; }
}
public int? ID_listPlat
{
get { return _ID_listPlat; }
set { _ID_listPlat = value; }
}
public int? ID_typeRepa
{
get { return _ID_typeRepa; }
set { _ID_typeRepa = value; }
}
public DateTime R_Date { get => _R_Date; set => _R_Date = value; }
#endregion
}
}