Files
PepApi.Core/PepLib.Core/Data/MaterialHeader.cs

74 lines
1.7 KiB
C#

namespace PepLib.Data
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("MaterialHeader")]
public partial class MaterialHeader
{
[Key]
public int ID { get; set; }
public DateTime? ModifiedDate { get; set; }
[Required]
[StringLength(254)]
public string ModifiedBy { get; set; }
[Required]
[StringLength(32)]
public string CompanyID { get; set; }
[Required]
[StringLength(32)]
public string FacilityID { get; set; }
[Required]
[StringLength(64)]
public string GroupID { get; set; }
// Typically numeric-as-string in PEP data; used as material number in other tables
[Required]
[StringLength(254)]
public string Material { get; set; }
[Required]
[StringLength(254)]
public string MatGrade { get; set; }
public byte AutoAddText { get; set; }
public double Cost { get; set; }
[Required]
[StringLength(254)]
public string Description { get; set; }
public double Density { get; set; }
public byte KeepRemnant { get; set; }
[Required]
[StringLength(16)]
public string KeepRemnantLogic { get; set; }
public double Kfactor { get; set; }
public double MinRemnantArea { get; set; }
public double MinRemnantCost { get; set; }
public double MinRemnantSize { get; set; }
public double MinRemnantWeight { get; set; }
[Required]
[StringLength(254)]
public string OriginalMaterialForStack { get; set; }
public double Thickness { get; set; }
}
}