using System;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace GWMS.Data.DatabaseModels
{
///
/// Tabella struttura consegne settimanali Plant + Supplier
///
[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
}
}