using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.ProductionProcess { /// /// 生产操作日志 /// [CollectionName("dopbase", "mes_prdlog")] [Comment("生产操作日志")] public class mes_prdlog :BaseEntity { ///// ///// 生产操作日志id ///// //[Key] //[Comment("生产操作日志id")] //public long prdlog_id { get; set; } /// /// 业务类型 /// [Required] [StringLength(50)] [Comment("业务类型")] public string prdlog_type { get; set; } /// /// 关联单号 /// [Required] [StringLength(80)] [Comment("业务类型")] public string prdlog_no { get; set; } /// /// 行号 /// [Comment("行号")] public int prdlog_entryid { get; set; } /// /// 执行时间 /// [Comment("执行时间")] public DateTime? prdlog_time { get; set; } /// /// 执行人id /// [Comment("执行人id")] public long? prdlog_by_id { get; set; } /// /// 执行人姓名 /// [StringLength(80)] [Comment("执行人姓名")] public string? prdlog_by_name { get; set; } /// /// 内容 /// [StringLength(255)] [Comment("内容")] public string? prdlog_note { get; set; } } }