using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.ProductionProcess { /// /// 生产动作表 /// [CollectionName("dopbase", "mes_meaction")] [Comment("生产动作表")] public class mes_meaction : BaseEntity { ///// ///// 主键Id ///// //[Key] //[Comment("生产动作Id")] //public long meaction_id { get; set; } /// /// 生产工单id /// [Comment("生产工单id")] public long morder_id { get; set; } /// /// 生产工单号 /// [Required] [StringLength(50)] [Comment("生产工单号")] public string? morder_no { get; set; } /// /// 操作时间 /// [Comment("操作时间")] public DateTime? oprtime { get; set; } /// /// 操作类型 /// [StringLength(50)] [Comment("操作类型")] public string? oprtype { get; set; } /// /// 操作人id /// [Comment("操作人id")] public long? oprby { get; set; } /// /// 操作人名称 /// [StringLength(50)] [Comment("操作人名称")] public string? oprbyname { get; set; } /// /// 操作人工号 /// [StringLength(100)] [Comment("操作人工号")] public string? oprbyno { get; set; } } }