Files
gwms/GWMS.Data/DatabaseModels/PlantSupplWeekPlanModel.cs
T
2021-06-01 12:41:57 +02:00

37 lines
951 B
C#

using System;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace GWMS.Data.DatabaseModels
{
/// <summary>
/// Tabella struttura consegne settimanali Plant + Supplier
/// </summary>
[Table("PlantSupplWeekPlan")]
public class PlantSupplWeekPlanModel
{
#region Public Properties
public int PlantId { get; set; }
public int SupplierId { get; set; }
public DayOfWeek DayNum { get; set; } = DayOfWeek.Monday;
[MaxLength(250)]
public string Note { get; set; } = "";
[ForeignKey("PlantId")]
public virtual PlantDetailModel Plant { get; set; }
[ForeignKey("SupplierId")]
public virtual SupplierModel Supplier { get; set; }
#endregion Public Properties
}
}