Files
PepApi.Core/PepLib.Core/Data/Drawing.cs
2025-10-27 18:48:23 -04:00

217 lines
4.9 KiB
C#

namespace PepLib.Data
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("Drawing")]
public partial class Drawing
{
public int ID { get; set; }
[Required]
[StringLength(254)]
public string Name { get; set; }
[Required]
[StringLength(20)]
public string CustID { get; set; }
[Required]
[StringLength(32)]
public string Revision { get; set; }
[Required]
[StringLength(254)]
public string Path { get; set; }
[Required]
[StringLength(254)]
public string File { get; set; }
[Required]
[StringLength(254)]
public string InUseBy { get; set; }
public DateTime? InUseDate { get; set; }
[Required]
[StringLength(254)]
public string Status { get; set; }
[Required]
[StringLength(254)]
public string StatusModifiedBy { get; set; }
public DateTime? StatusModifiedDate { get; set; }
public DateTime? CreationDate { get; set; }
public DateTime? LastEditDate { get; set; }
public DateTime? LastRefDate { get; set; }
[Required]
[StringLength(254)]
public string Description { get; set; }
[Required]
[StringLength(254)]
public string Customer { get; set; }
[Required]
[StringLength(254)]
public string Comment { get; set; }
[Required]
[StringLength(254)]
public string Notes { get; set; }
public byte Grain { get; set; }
public double GrainAngle { get; set; }
[Required]
[StringLength(254)]
public string Material { get; set; }
[Required]
[StringLength(254)]
public string MatGrade { get; set; }
[Required]
[StringLength(254)]
public string Programmer { get; set; }
[Required]
[StringLength(254)]
public string CreatedBy { get; set; }
[Required]
[StringLength(254)]
public string Type { get; set; }
public byte CommonCut { get; set; }
public byte CombineCut { get; set; }
[Required]
[StringLength(254)]
public string Errors { get; set; }
[Required]
[StringLength(254)]
public string Hardness { get; set; }
[Required]
[StringLength(254)]
public string Specification { get; set; }
public byte NestInCutOuts { get; set; }
[Required]
[StringLength(254)]
public string UserDefined1 { get; set; }
[Required]
[StringLength(254)]
public string UserDefined2 { get; set; }
[Required]
[StringLength(254)]
public string UserDefined3 { get; set; }
[Required]
[StringLength(254)]
public string UserDefined4 { get; set; }
[Required]
[StringLength(254)]
public string UserDefined5 { get; set; }
[Required]
[StringLength(254)]
public string UserDefined6 { get; set; }
public short Machine { get; set; }
[Required]
[StringLength(254)]
public string Application { get; set; }
public int PartCount { get; set; }
public int Color { get; set; }
public short CombineMethod { get; set; }
public byte SeqCutouts { get; set; }
public byte AllowMirror { get; set; }
[Required]
[StringLength(254)]
public string SourceFile { get; set; }
public DateTime? SourceDate { get; set; }
public int SourceSize { get; set; }
[Required]
[StringLength(254)]
public string CadScaled { get; set; }
public int CadDimVerified { get; set; }
public int CadDimCount { get; set; }
public double Width { get; set; }
public double Length { get; set; }
public double RectArea { get; set; }
public double ExtArea { get; set; }
public double TrueArea { get; set; }
public double ExtUtil { get; set; }
public double TrueUtil { get; set; }
public double SmallestAreaAng { get; set; }
public double SmallestAreaLen { get; set; }
public double SmallestAreaWid { get; set; }
public double SmallestYAng { get; set; }
public double SmallestYLen { get; set; }
public double SmallestYWid { get; set; }
public double CutLength { get; set; }
public double ScribeLength { get; set; }
public int Checked { get; set; }
public byte PepBendStatus { get; set; }
public int HasBevel { get; set; }
public int HasLeadIn { get; set; }
public int HasTab { get; set; }
public DateTime? ModifiedDate { get; set; }
[Required]
[StringLength(254)]
public string ModifiedBy { get; set; }
}
}