using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; /* * @author : http://www.chiner.com.cn * @date : 2023-3-10 * @desc : 工件加工履历表 */ namespace iWare.Wms.Core { /// /// 工件加工履历表 /// [Table("WorkPieceProcess")] [Comment("工件加工履历表")] public class WorkPieceProcess : DEntityBase { [StringLength(50)] public string JiaJuGongWei { get; set; } [StringLength(50)] public string DataCapturePointCname { get; set; } [StringLength(50)] public string UpdateDataCapturePointCname { get; set; } /// /// 质量不合格原因类型,枚举QualityNoOkEnum 【Editby shaocx,2024-06-26】 /// public int? QualityNoOk { get; set; } /// /// 质量不合格原因 【Editby shaocx,2024-06-26】 /// public string QualityNoOkReason { get; set; } /// /// 工件号 /// [Comment("工件号")] [MaxLength(32)] public string WorkPieceID { get; set; } /// /// 当前设备 /// [Comment("当前设备")] [MaxLength(32)] public string EquipmentID { get; set; } /// /// 当前工序 /// [Comment("当前工序")] [MaxLength(32)] public string WorkingProcedureCurrent { get; set; } /// /// 工序上线时间 /// [Comment("工序上线时间")] public DateTime StartTime { get; set; } /// /// 工序下线时间 /// [Comment("工序下线时间")] public DateTime EndTime { get; set; } /// /// 质量状态 /// [Comment("质量状态")] public int QualityState { get; set; } /// /// 质量信息id /// [Comment("质量信息id")] public long QualityDataInfoID { get; set; } /// /// 操作类型 /// [Comment("操作类型")] [MaxLength(50)] public string OperationType { get; set; } /// /// 备注 /// [Comment("备注")] [MaxLength(255)] public string Remarks { get; set; } } }