192 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			192 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using APT.BaseData.Domain.Entities.FM;
							 | 
						|||
| 
								 | 
							
								using APT.BaseData.Domain.Enums;
							 | 
						|||
| 
								 | 
							
								using APT.BaseData.Domain.Enums.PF;
							 | 
						|||
| 
								 | 
							
								using APT.Infrastructure.Core;
							 | 
						|||
| 
								 | 
							
								using APT.MS.Domain.Enums;
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								using System.ComponentModel;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace APT.MS.Domain.Entities.DM
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    /// <summary>
							 | 
						|||
| 
								 | 
							
								    /// 设备检查单
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    [Description("设备检查")]
							 | 
						|||
| 
								 | 
							
								    public class T_DM_DEVICE_CHECK : MesEntityBase
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// T_DM_DEVICE_BASE_CHECK ID
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备设施维保计划")]
							 | 
						|||
| 
								 | 
							
								        public Guid? PLANID { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 编码
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("编码")]
							 | 
						|||
| 
								 | 
							
								        [CodeRule((int)PFCodeRuleType.机电管理)]
							 | 
						|||
| 
								 | 
							
								        [CUnique]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(50)]
							 | 
						|||
| 
								 | 
							
								        public string CODE { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 名称
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("名称")]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(300)]
							 | 
						|||
| 
								 | 
							
								        public string NAME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 检查类型
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("检查类型")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public CheckType CHECKTYPE { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 点检时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("点检时间")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public DateTime? RECORD_DATE { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 开始时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("开始时间")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public DateTime? START_TIME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 结束时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("结束时间")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public DateTime? END_TIME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 点检人员
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("点检人员")]
							 | 
						|||
| 
								 | 
							
								        public virtual ICollection<T_DM_DEVICE_CHECK_USER> Nav_ListUser { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 班组
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("班组")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(200)]
							 | 
						|||
| 
								 | 
							
								        public string TEAM_NAME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 班组
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("班组")]
							 | 
						|||
| 
								 | 
							
								        public Guid? TEAM_ID { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 班次
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("班次")]
							 | 
						|||
| 
								 | 
							
								        [DataFieldForeignKey("Nav_Scheduling")]
							 | 
						|||
| 
								 | 
							
								        public Guid? SCHEDULIN_ID { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 班次
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("班次")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public virtual T_FM_DEPARTMENT_SCHEDULING Nav_Scheduling { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 设备设施库
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备设施库")]
							 | 
						|||
| 
								 | 
							
								        [DataFieldForeignKey("Nav_DeviceBase")]
							 | 
						|||
| 
								 | 
							
								        public Guid? DEVICEBASE_ID { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 设备设施库
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备设施库")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        public virtual T_DM_DEVICE_BASE Nav_DeviceBase { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 设备名称
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备名称")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(200)]
							 | 
						|||
| 
								 | 
							
								        public string MACHINE_NAME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 规格
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("规格")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(100)]
							 | 
						|||
| 
								 | 
							
								        public string SPEC { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 设备编号
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备编号")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(100)]
							 | 
						|||
| 
								 | 
							
								        public string MACHINE_CODE { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 设备位置
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("设备位置")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldEdit]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        [DataFieldLength(200)]
							 | 
						|||
| 
								 | 
							
								        public string POSITION_NAME { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 记录明细列表
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("记录明细列表")]
							 | 
						|||
| 
								 | 
							
								        public virtual ICollection<T_DM_DEVICE_CHECK_DETAIL> Nav_ListDetail { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 附件
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("附件")]
							 | 
						|||
| 
								 | 
							
								        public virtual ICollection<T_DM_DEVICE_CHECK_FILE> Nav_Files { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 状态
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [Description("状态")]
							 | 
						|||
| 
								 | 
							
								        [FormFieldTable]
							 | 
						|||
| 
								 | 
							
								        [FormFieldQuery]
							 | 
						|||
| 
								 | 
							
								        public PFStandardStatus STATUS { get; set; }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |