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_Part { [StringLength(255)] public string Id { get; set; } public int MainTaskId { get; set; } [Required] [StringLength(255)] public string MainTaskNo { get; set; } [Required] [StringLength(255)] public string TaskName { get; set; } public int TaskSequence { get; set; } public int? DeviceType { get; set; } [StringLength(255)] public string DeviceTypeName { get; set; } public int? DeviceId { get; set; } [StringLength(255)] public string DeviceName { 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; } [Required] [StringLength(255)] public string RealSourcePlace { get; set; } [Required] [StringLength(255)] public string RealToPlace { get; set; } [StringLength(255)] public string MaterialId { get; set; } [Required] [StringLength(255)] public string SalverId { get; set; } [Required] [StringLength(255)] public string SalverCode { get; set; } public bool? IsReleased { get; set; } public bool? IsFinished { get; set; } [Required] [StringLength(255)] public string PlcTaskId { get; set; } [StringLength(255)] public string TaskDescribe { get; set; } public bool? IsAllowSimulateExecute { get; set; } public DateTime? IssueTime { get; set; } public DateTime? FinishTime { 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; } [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; } public int? MainTaskSequence { get; set; } public int? Qty { get; set; } public int? MaterialType { get; set; } [StringLength(50)] public string MaterialTypeName { get; set; } public int? InOutFlag { get; set; } [StringLength(50)] public string InOutFlagName { get; set; } } }