Update datamodel
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user