32 lines
669 B
C#
32 lines
669 B
C#
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; }
|
|
|
|
|
|
}
|
|
}
|