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
|
{
|
/// <summary>
|
/// 工件加工履历表
|
/// </summary>
|
[Table("WorkPieceProcess")]
|
[Comment("工件加工履历表")]
|
public class WorkPieceProcess : DEntityBase
|
{
|
[StringLength(50)]
|
public string DataCapturePointCname { get; set; }
|
|
[StringLength(50)]
|
public string UpdateDataCapturePointCname { get; set; }
|
|
/// <summary>
|
/// 质量不合格原因类型,枚举QualityNoOkEnum 【Editby shaocx,2024-06-26】
|
/// </summary>
|
public int? QualityNoOk { get; set; }
|
|
/// <summary>
|
/// 质量不合格原因 【Editby shaocx,2024-06-26】
|
/// </summary>
|
public string QualityNoOkReason { get; set; }
|
|
/// <summary>
|
/// 工件号
|
/// </summary>
|
[Comment("工件号")]
|
[MaxLength(32)]
|
public string WorkPieceID { get; set; }
|
|
|
/// <summary>
|
/// 当前设备
|
/// </summary>
|
[Comment("当前设备")]
|
[MaxLength(32)]
|
public string EquipmentID { get; set; }
|
|
|
/// <summary>
|
/// 当前工序
|
/// </summary>
|
[Comment("当前工序")]
|
[MaxLength(32)]
|
public string WorkingProcedureCurrent { get; set; }
|
|
|
/// <summary>
|
/// 工序上线时间
|
/// </summary>
|
[Comment("工序上线时间")]
|
public DateTime StartTime { get; set; }
|
|
|
/// <summary>
|
/// 工序下线时间
|
/// </summary>
|
[Comment("工序下线时间")]
|
public DateTime EndTime { get; set; }
|
|
|
/// <summary>
|
/// 质量状态
|
/// </summary>
|
[Comment("质量状态")]
|
public int QualityState { get; set; }
|
|
|
/// <summary>
|
/// 质量信息id
|
/// </summary>
|
[Comment("质量信息id")]
|
public long QualityDataInfoID { get; set; }
|
|
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[Comment("操作类型")]
|
[MaxLength(50)]
|
public string OperationType { get; set; }
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[Comment("备注")]
|
[MaxLength(255)]
|
public string Remarks { get; set; }
|
|
|
}
|
}
|