fix modelli + prima migrazione
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
namespace MP.MONO.Data.DbModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Tabella AnKeyVal
|
||||
/// </summary>
|
||||
[Table("AnKeyVal")]
|
||||
public class AnKeyValModel
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
[Key, Column(Order = 0), MaxLength(50)]
|
||||
public string KeyName { get; set; }
|
||||
|
||||
[Column(Order = 1)]
|
||||
|
||||
public int ValInt { get; set; } = 0;
|
||||
[Column(Order = 2)]
|
||||
public int ValFloat { get; set; } = 0;
|
||||
|
||||
[Column(Order = 3), MaxLength(250)]
|
||||
public string ValString { get; set; } = "";
|
||||
|
||||
[Column(Order = 4), Comment("Descrizione dell'item"), MaxLength(250)]
|
||||
public string Descript { get; set; } = "";
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user