Update datamodel

This commit is contained in:
Samuele Locatelli
2025-09-29 15:09:45 +02:00
parent 1ab7cb36e0
commit 7d1cae9061
5 changed files with 31 additions and 25 deletions
@@ -1,11 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static EgwCoreLib.Lux.Core.Enums;
namespace EgwCoreLib.Lux.Data.DbModel.Sales
@@ -23,6 +17,11 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
[Key]
public int OfferID { get; set; }
/// <summary>
/// Environment della richiesta
/// </summary>
public EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS Envir { get; set; } = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW;
/// <summary>
/// Anno rif offerta
/// </summary>
@@ -77,7 +76,6 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
/// </summary>
public DateTime Modified { get; set; } = DateTime.Now;
/// <summary>
/// Enum stato offerta
/// </summary>
@@ -150,6 +148,7 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
[ForeignKey("DealerID")]
public virtual DealerModel DealerNav { get; set; } = null!;
/// <summary>
/// Navigazione alle righe offerta
/// </summary>