Files
lux/EgwCoreLib.Lux.Data/DbModel/Sales/CustomerModel.cs
T
2025-09-19 18:54:17 +02:00

60 lines
1.4 KiB
C#

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 EgwCoreLib.Lux.Data.DbModel.Sales
{
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
[Table("sales_customer")]
public class CustomerModel
{
/// <summary>
/// ID del record
/// </summary>
[Key]
public int CustomerID { get; set; }
#if false
/// <summary>
/// Ruolo assocaito da anagrafica esterna
/// </summary>
public int RoleID { get; set; }
#endif
/// <summary>
/// Denominazione se persona giuridica
/// </summary>
public string CompanyName { get; set; } = "";
/// <summary>
/// Nome
/// </summary>
public string FirstName { get; set; } = "";
/// <summary>
/// Cognome
/// </summary>
public string LastName { get; set; } = "";
/// <summary>
/// P.IVA / C.Fiscale
/// </summary>
public string VAT { get; set; } = "";
#if false
/// <summary>
/// Navigazione al ruolo
/// </summary>
[ForeignKey("RoleID")]
public virtual RoleModel RoleNav { get; set; } = null!;
#endif
}
}