55 lines
1.3 KiB
C#
55 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Data.SqlTypes;
|
|
|
|
#nullable disable
|
|
|
|
namespace MP.AppAuth.Models
|
|
{
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
[Table("Config")]
|
|
public partial class ConfigModel
|
|
{
|
|
#region Public Properties
|
|
|
|
[Key, Column("chiave")]
|
|
public string Chiave { get; set; } = "";
|
|
|
|
[Column("valore")]
|
|
public string Valore { get; set; } = "";
|
|
|
|
[Column("valoreStd")]
|
|
public string ValoreStd { get; set; } = "";
|
|
|
|
[Column("note")]
|
|
public string Note { get; set; } = "";
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (!(obj is ConfigModel item))
|
|
return false;
|
|
|
|
if (Chiave != item.Chiave)
|
|
return false;
|
|
if (Valore != item.Valore)
|
|
return false;
|
|
if (ValoreStd != item.ValoreStd)
|
|
return false;
|
|
if (Note != item.Note)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |