60 lines
1.4 KiB
C#
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_dealer")]
|
|
public class DealerModel
|
|
{
|
|
/// <summary>
|
|
/// ID del record
|
|
/// </summary>
|
|
[Key]
|
|
public int DealerID { 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
|
|
}
|
|
}
|