using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZR.Model.MES.dev
{
///
/// 巡检/点检任务结果表
///
[SugarTable("device_task_execute_result1")]
public class DeviceTaskExecuteResult
{
///
/// id 雪花
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 任务id
///
[SugarColumn(ColumnName = "fk_task_id")]
public string FkTaskId { get; set; }
///
/// 计划类型(1是巡检,2是点检)
///
[SugarColumn(ColumnName = "plan_type")]
public int? PlanType { get; set; }
///
/// 计划id
///
[SugarColumn(ColumnName = "fk_plan_id")]
public string FkPlanId { get; set; }
///
/// 巡检计划名称
///
[SugarColumn(ColumnName = "plan_name")]
public string PlanName { get; set; }
///
/// 类型(内部) 1是检查 2是保养
///
[SugarColumn(ColumnName = "inner_type")]
public int? InnerType { get; set; }
///
/// 执行周期类型(1 按天,2按周 3按月)
///
[SugarColumn(ColumnName = "excute_cycle_type")]
public int? ExcuteCycleType { get; set; }
///
/// 设备id
///
[SugarColumn(ColumnName = "fk_device_id")]
public int? FkDeviceId { get; set; }
///
/// 设备名称
///
[SugarColumn(ColumnName = "device_name")]
public string DeviceName { get; set; }
///
/// 设备检查项id
///
[SugarColumn(ColumnName = "fk_inspect_id")]
public int? FkInspectId { get; set; }
///
/// 检查项名称
///
[SugarColumn(ColumnName = "inspect_name")]
public string InspectName { get; set; }
///
/// 表单类型
///
[SugarColumn(ColumnName = "form_type")]
public int? FormType { get; set; }
///
/// 表单标题
///
[SugarColumn(ColumnName = "form_title")]
public string FormTitle { get; set; }
///
/// 表单名称
///
[SugarColumn(ColumnName = "form_name")]
public string FormName { get; set; }
///
/// 巡检人
///
public string Person { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}