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; /* * @author : http://www.chiner.com.cn * @date : 2024-1-9 * @desc : 工件出库表 */ namespace iWare.Wms.Core { /// /// 工件出库表 /// [Table("WorkPieceOutbound")] [Comment("工件出库表")] public class WorkPieceOutbound : DEntityBase { /// /// 工件OP80打的码-唯一索引 /// [Comment("OP80打码")] [Required] [MaxLength(255)] public string OP80NewCode { get; set; } /// /// 小车码 /// [Comment("小车码")] [MaxLength(32)] public string CarNo { get; set; } /// /// 阶段 /// [Comment("阶段")] public PieceUnLineStage? UnLineStage { get; set; } /// /// 阶段名称 /// [Comment("阶段名称")] public String UnLineStageName { get; set; } /// /// 工件号 /// [Comment("工件号")] public string WorkPieceID { get; set; } #region 下线 /// /// 下线时间 /// [Comment("下线时间")] public DateTime? WorkPieceUnLineTime { get; set; } /// /// 下线人Id /// [Comment("下线人Id")] public long? WorkPieceUnLineUserId { get; set; } /// /// 下线人名称 /// [Comment("下线人名称")] [MaxLength(32)] public string WorkPieceUnLineUserName { get; set; } #endregion #region 出库 /// /// 出库时间 /// [Comment("出库时间")] public DateTime? WorkPieceOutboundTime { get; set; } /// /// 出库人Id /// [Comment("出库人Id")] public long? WorkPieceOutboundUserId { get; set; } /// /// 出库人名称 /// [Comment("出库人名称")] [MaxLength(32)] public string WorkPieceOutboundUserName { get; set; } #endregion /// /// 备注 /// [Comment("备注")] [MaxLength(500)] public string Remark { get; set; } } }