using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace SlnMesnac.Model.domain
{
///
/// 当前已经下发的叫料任务
///
[SugarTable("base_real_task"), TenantAttribute("local")]
public class BaseRealTask
{
///
/// 任务ID
///
[SugarColumn(ColumnName = "task_id", IsPrimaryKey = true, IsIdentity = true)]
public int TaskId { get; set; }
///
/// 关联的MES执行的计划编号
///
[SugarColumn(ColumnName = "plan_code")]
public string PlanCode { get; set; }
///
/// mes计划数量
///
[SugarColumn(ColumnName = "plan_amount")]
public decimal PlanAmount { get; set; }
///
/// mes已完成数量
///
[SugarColumn(ColumnName = "plan_complete")]
public decimal PlanComplete { get; set; }
///
/// 物料型号
///
[SugarColumn(ColumnName = "material_id")]
public decimal MaterialId { get; set; }
///
/// 任务状态:默认1执行中, 2:已完成
///
[SugarColumn(ColumnName = "status")]
public int Status { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime CreateTime { get; set; }
///
/// 修改时间
///
[SugarColumn(ColumnName = "update_time")]
public DateTime UpdateTime { get; set; }
}
}