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