namespace iWareSql.DBModel { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Task_Main { public int Id { get; set; } [Required] [StringLength(255)] public string TaskNo { get; set; } [Required] [StringLength(255)] public string TaskName { get; set; } public int InOutFlag { get; set; } [Required] [StringLength(255)] public string InOutFlagName { get; set; } public int TaskType { get; set; } [Required] [StringLength(255)] public string TaskTypeName { get; set; } public int TaskState { get; set; } [Required] [StringLength(255)] public string TaskStateName { get; set; } public int? SourcePlace { get; set; } public int? ToPlace { get; set; } [StringLength(255)] public string RealSourcePlace { get; set; } [StringLength(255)] public string RealToPlace { get; set; } [StringLength(255)] public string MaterialId { get; set; } [StringLength(255)] public string SalverId { get; set; } [StringLength(255)] public string SalverCode { get; set; } public bool? IsFinished { get; set; } [StringLength(255)] public string TaskDescribe { get; set; } public DateTime? FinishTime { get; set; } public int TaskSequence { get; set; } public int? Plan_OutTask_Id { get; set; } [StringLength(255)] public string Plan_OutTask_PlanNo { get; set; } public int? Plan_OutTaskDetail_Id { get; set; } [StringLength(500)] public string OperationRemark { get; set; } public int? CreateId { get; set; } [StringLength(50)] public string CreateBy { get; set; } public DateTime? CreateTime { get; set; } public int? ModifyId { get; set; } [StringLength(50)] public string ModifyBy { get; set; } public DateTime? ModifyTime { get; set; } public DateTime? StartTime { get; set; } public DateTime? InStoreTime { get; set; } public DateTime? OutStoreTime { get; set; } [StringLength(255)] public string SrmCode { get; set; } [StringLength(255)] public string SrmName { get; set; } public bool? IsAllowSimulateExecute { get; set; } [StringLength(50)] public string AllowSimulateExecute_User { get; set; } public DateTime? AllowSimulateExecute_Time { get; set; } [StringLength(500)] public string AllowSimulateExecute_Rmark { get; set; } [StringLength(255)] public string SerialNumber { get; set; } [StringLength(255)] public string OrderNo { get; set; } [StringLength(50)] public string MaterialModel_CodeItemId { get; set; } [StringLength(50)] public string MaterialModel { get; set; } [StringLength(50)] public string Supplier { get; set; } public int? MaterialType { get; set; } [StringLength(50)] public string MaterialTypeName { get; set; } [StringLength(50)] public string Series_CodeItemId { get; set; } [StringLength(50)] public string SeriesName { get; set; } [StringLength(50)] public string CargoType_CodeItemId { get; set; } [StringLength(50)] public string CargoTypeName { get; set; } public int? Qty { get; set; } [StringLength(50)] public string Area { get; set; } public bool? IsBtj { get; set; } public bool? IsBtjReceive { get; set; } public DateTime? BtjReceiveTime { get; set; } public bool? IsOnLine { get; set; } public DateTime? OnLineTime { get; set; } public int? OnLineToMesCount { get; set; } public bool? IsNeedOnLine { get; set; } [StringLength(50)] public string Mes_Code { get; set; } [StringLength(500)] public string Mes_Msg { get; set; } public bool? IsVirtual { get; set; } public string TaskSequenceGuid { get; set; } public DateTime? UpdateMatFinishTime { get; set; } public int? UpdateMatFinishNum { get; set; } public bool? IsUpdateMatFinish { get; set; } } }