using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace iWare.Wms.Core { [Table("QualityDataInfoLog")] [Comment("质量数据表Log")] public class QualityDataInfoLog : DEntityBase { /// /// QualityDataInfo表主键 /// [Comment("QualityDataInfo表主键")] [Required, MaxLength(32)] public long QualityDataInfoID { get; set; } /// /// 工件号 /// [Comment("工件号")] [Required, MaxLength(32)] public string WorkPieceID { get; set; } /// /// 设备 /// [Comment("设备")] [MaxLength(32)] public string EquipmentID { get; set; } /// /// 工序 /// [Comment("工序")] [MaxLength(32)] public string WorkingProcedure { get; set; } /// /// 质量状态;合格、不合格、疑似 /// [Comment("质量状态")] public int QualityState { get; set; } /// /// 操作方式;人工修改,接收数据 /// [Comment("操作方式")] [MaxLength(32)] public string QualityStateUpdateMode { get; set; } /// /// 操作人 /// [Comment("操作人")] [MaxLength(32)] public string QualityStateUpdateUser { get; set; } /// /// 质量接收时间 /// [Comment("质量接收时间")] public DateTime QualityReceiveTime { get; set; } [MaxLength(32)] public string OP10QualityState { get; set; } [MaxLength(32)] public string OP20QualityState { get; set; } [MaxLength(32)] public string OP30QualityStateCH3 { get; set; } [MaxLength(32)] public string OP30QualityStateCH4 { get; set; } [MaxLength(32)] public string OP30QualityStateCH5 { get; set; } [MaxLength(32)] public string OP30QualityStateCH6 { get; set; } [MaxLength(32)] public string OP30QualityState { get; set; } [MaxLength(32)] public string OP40QualityState { get; set; } [MaxLength(32)] public string OP60QualityState { get; set; } [MaxLength(32)] public string OP80QualityState { get; set; } [Comment("质量接收时间")] public DateTime OP10QualityReceiveTime { get; set; } [Comment("质量接收时间")] public DateTime OP20QualityReceiveTime { get; set; } [Comment("质量接收时间")] public DateTime OP30QualityReceiveTimeCH3 { get; set; } [Comment("质量接收时间")] public DateTime OP30QualityReceiveTimeCH4 { get; set; } [Comment("质量接收时间")] public DateTime OP30QualityReceiveTimeCH5 { get; set; } [Comment("质量接收时间")] public DateTime OP30QualityReceiveTimeCH6 { get; set; } [Comment("质量接收时间")] public DateTime OP30QualityReceiveTime { get; set; } [Comment("质量接收时间")] public DateTime OP40QualityReceiveTime { get; set; } [Comment("质量接收时间")] public DateTime OP60QualityReceiveTime { get; set; } [Comment("质量接收时间")] public DateTime OP80QualityReceiveTime { get; set; } /// /// 下线时间 /// [Comment("下线时间")] public DateTime OfflineTime { get; set; } /// /// 连杆厚度;OP10/OP40 /// [Comment("连杆厚度;OP10/OP40")] [MaxLength(32)] public string QualityOP10To1 { get; set; } /// /// 连杆厚度;OP10/OP40 /// [Comment("连杆厚度;OP10/OP40")] [MaxLength(32)] public string QualityOP40To1 { get; set; } /// /// 小头孔直径;OP20/OP60/OP80 /// [Comment("小头孔直径;OP20/OP60/OP80")] [MaxLength(32)] public string QualityOP20To1 { get; set; } /// /// 涨断力矩;OP30 /// [Comment("涨断力矩;OP30")] [MaxLength(32)] public string QualityOP30To1 { get; set; } /// /// 预拧紧力矩(CH1);OP30 /// [Comment("预拧紧力矩(CH1);OP30")] [MaxLength(32)] public string QualityOP30To2 { get; set; } /// /// 预拧紧力矩(CH2);OP30 /// [Comment("预拧紧力矩(CH2);OP30")] [MaxLength(32)] public string QualityOP30To8 { get; set; } /// /// 最终力矩(CH3);OP30 /// [Comment("最终力矩(CH3);OP30")] [MaxLength(32)] public string QualityOP30To3 { get; set; } /// /// 终拧紧力矩(CH3);OP30 /// [Comment("终拧紧力矩(CH3);OP30")] [MaxLength(32)] public string QualityOP30To4 { get; set; } /// /// 终拧紧角度(CH3);OP30 /// [Comment("终拧紧角度(CH3);OP30")] [MaxLength(32)] public string QualityOP30To5 { get; set; } /// /// 最终力矩(CH4);OP30 /// [Comment("最终力矩(CH4);OP30")] [MaxLength(32)] public string QualityOP30To9 { get; set; } /// /// 终拧紧力矩(CH4);OP30 /// [Comment("终拧紧力矩(CH4);OP30")] [MaxLength(32)] public string QualityOP30To10 { get; set; } /// /// 终拧紧角度(CH4);OP30 /// [Comment("终拧紧角度(CH4);OP30")] [MaxLength(32)] public string QualityOP30To11 { get; set; } /// /// 衬套压装力矩;OP30 /// [Comment("衬套压装力矩;OP30")] [MaxLength(32)] public string QualityOP30To6 { get; set; } /// /// 衬套压装位移;OP30 /// [Comment("衬套压装位移;OP30")] [MaxLength(32)] public string QualityOP30To7 { get; set; } /// /// 压装力矩;OP35 /// [Comment("压装力矩;OP35")] [MaxLength(32)] public string QualityOP35To1 { get; set; } /// /// Y轴位移;OP35 /// [Comment("Y轴位移;OP35")] [MaxLength(32)] public string QualityOP35To2 { get; set; } /// /// 大头孔直径;OP60/OP80 /// [Comment("大头孔直径;OP60/OP80")] [MaxLength(32)] public string QualityOP60To1 { get; set; } /// /// 校验码结果;OP60 但是什么待定 /// [Comment("校验码结果;OP60")] [MaxLength(32)] public string QualityOP60To2 { get; set; } /// /// 清洗温度;OP70 /// [Comment("清洗温度;OP70")] [MaxLength(32)] public string QualityOP70To1 { get; set; } /// /// 清洗压力;OP70 /// [Comment("清洗压力;OP70")] [MaxLength(32)] public string QualityOP70To2 { get; set; } /// /// 出口处工件温度;OP70 这个待定,可能不是质量信息 /// [Comment("出口处工件温度;OP70")] [MaxLength(32)] public string QualityOP70To3 { get; set; } /// /// 大头重量;OP80 /// [Comment("大头重量;OP80")] [MaxLength(32)] public string QualityOP80To1 { get; set; } /// /// 小头重量;OP80 /// [Comment("小头重量;OP80")] [MaxLength(32)] public string QualityOP80To2 { get; set; } /// /// 总重;OP80 /// [Comment("总重;OP80")] [MaxLength(32)] public string QualityOP80To3 { get; set; } /// /// 弯曲;OP80 /// [Comment("弯曲;OP80")] [MaxLength(32)] public string QualityOP80To4 { get; set; } /// /// 扭度;OP80 /// [Comment("扭度;OP80")] [MaxLength(32)] public string QualityOP80To5 { get; set; } /// /// 大头垂直度;OP80 /// [Comment("大头垂直度;OP80")] [MaxLength(32)] public string QualityOP80To6 { get; set; } /// /// 大头孔分组级别;OP80 /// [Comment("大头孔分组级别;OP80")] [MaxLength(32)] public string QualityOP80To7 { get; set; } /// /// 小头孔分组级别;OP80 /// [Comment("小头孔分组级别;OP80")] [MaxLength(32)] public string QualityOP80To8 { get; set; } /// /// 重量组别;OP80 /// [Comment("重量组别;OP80")] [MaxLength(32)] public string QualityOP80To9 { get; set; } /// /// 小头垂直度;OP80 /// [Comment("小头垂直度;OP80")] [MaxLength(32)] public string QualityOP80To10 { get; set; } /// /// 备注 /// [Comment("备注")] [MaxLength(255)] public string Remarks { get; set; } } }