first push
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModelsLib.BDD_Models
|
||||
{
|
||||
[Table("T_DesireData")]
|
||||
public class DesireData
|
||||
{
|
||||
public DesireData(int key, string desire)
|
||||
{
|
||||
Key = key;
|
||||
Desire = desire;
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Key { get; set; }
|
||||
|
||||
public string Desire { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModelsLib
|
||||
{
|
||||
/// <summary>
|
||||
/// classe modèle de la table de paramètrage
|
||||
/// </summary>
|
||||
[Table("T_Params")]
|
||||
public class ParametersDb
|
||||
{
|
||||
public ParametersDb(string key, string value)
|
||||
{
|
||||
Key = key;
|
||||
Value = value;
|
||||
}
|
||||
|
||||
[Key]
|
||||
public string Key { get; set; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModelsLib
|
||||
{
|
||||
[Table("T_ShootingData")]
|
||||
public class ShootingData
|
||||
{
|
||||
public ShootingData(string key, bool isPhotosSelected, int maxChoice, DateTime shootingDate, string instagramName)
|
||||
{
|
||||
Key = key;
|
||||
IsPhotosSelected = isPhotosSelected;
|
||||
MaxChoice = maxChoice;
|
||||
ShootingDate = shootingDate;
|
||||
InstagramName = instagramName;
|
||||
}
|
||||
|
||||
[Key]
|
||||
public string Key { get; set; }
|
||||
|
||||
public bool IsPhotosSelected { get; set; }
|
||||
|
||||
public int MaxChoice { get; set; }
|
||||
|
||||
public DateTime ShootingDate { get; set; }
|
||||
|
||||
public string InstagramName { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user