using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Chloe.Annotations; namespace WaterCloud.Domain.ClassTask { /// /// 创 建:超级管理员 /// 日 期:2021-01-15 14:18 /// 描 述:待执行任务实体类 /// [TableAttribute("mes_ControlJob")] public class ControlJobEntity : IEntity,ICreationAudited,IModificationAudited,IDeleteAudited { /// /// id /// /// [Column("F_Id", IsPrimaryKey = true)] public string F_Id { get; set; } /// /// 调度编号 /// /// public string F_JobCode { get; set; } /// /// 调度信息 /// /// public string F_JobInfo { get; set; } /// /// 是否发送计划人员 /// /// public bool? F_IsToPlanMan { get; set; } /// /// 是否通知 /// /// public bool? F_IsNotice { get; set; } /// /// 优先级(从大到小执行) /// /// public int? F_Priority { get; set; } /// /// 执行时间 /// /// public DateTime? F_DoneTime { get; set; } /// /// /// /// public bool? F_DeleteMark { get; set; } /// /// /// /// public bool? F_EnabledMark { get; set; } /// /// 备注 /// /// public string F_Description { get; set; } /// /// /// /// public DateTime? F_CreatorTime { get; set; } /// /// /// /// public string F_CreatorUserId { get; set; } /// /// /// /// public DateTime? F_LastModifyTime { get; set; } /// /// /// /// public string F_LastModifyUserId { get; set; } /// /// /// /// public DateTime? F_DeleteTime { get; set; } /// /// /// /// public string F_DeleteUserId { get; set; } /// /// 调度类型(0补货,1入库,2出库,3产出上架,4移库,5作业开始,6作业结束,7领用退回) /// /// public int? F_JobType { get; set; } /// /// 需求id /// /// public string F_NeedId { get; set; } public float? F_NeedNum { get; set; } /// /// 需求设备id /// /// public string F_NeedEqpId { get; set; } /// /// 完成时间 /// /// public DateTime? F_FinishTime { get; set; } /// /// 需求时间 /// public DateTime? F_NeedTime { get; set; } /// /// 任务状态(0等待,1执行,2完成,3关闭) /// /// public int? F_JobState { get; set; } /// /// 超时 /// [NotMapped] public bool? F_IsOutTime { get; set; } [NotMapped] public string F_MaterialName { get; set; } } }