using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace SlnMesnac.Model.domain
{
[SugarTable("wcs_task"), TenantAttribute("mes")]
public class WcsTask
{
///
/// 主键
///
[SugarColumn(ColumnName = "objid")]
public long ObjId { get; set; }
///
/// wcs_warehouse_order 主键id
///
[SugarColumn(ColumnName = "master_id")]
public long? MasterId { get; set; }
///
/// wms出入库记录表id
///
[SugarColumn(ColumnName = "order_id")]
public long? OrderId { get; set; }
///
/// 流水号
///
[SugarColumn(ColumnName = "serial_no")]
public long? SerialNo { get; set; }
///
/// 设备编号
///
[SugarColumn(ColumnName = "equipment_no")]
public string EquipmentNo { get; set; }
///
/// 容器号(托盘或者箱号)
///
[SugarColumn(ColumnName = "container_no")]
public string ContainerNo { get; set; }
///
/// 任务类型,字典表
///
[SugarColumn(ColumnName = "task_type")]
public int? TaskType { get; set; }
///
/// 任务状态,字典表
///
[SugarColumn(ColumnName = "task_status")]
public int? TaskStatus { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "material_id")]
public long? MaterialId { get; set; }
///
/// 物料号
///
[SugarColumn(ColumnName = "material_no")]
public string MaterialNo { get; set; }
///
/// 数量
///
[SugarColumn(ColumnName = "qty")]
public int? Qty { get; set; }
///
/// 起始点编号
///
[SugarColumn(ColumnName = "start_point_no")]
public string StartPointNo { get; set; }
///
/// 起始点id
///
[SugarColumn(ColumnName = "start_point_id")]
public long? StartPointId { get; set; }
///
/// 当前点编号
///
[SugarColumn(ColumnName = "curr_point_no")]
public string CurrPointNo { get; set; }
///
/// 当前点id
///
[SugarColumn(ColumnName = "curr_point_id")]
public long? CurrPointId { get; set; }
///
/// 下一点位id
///
[SugarColumn(ColumnName = "next_point_id")]
public long? NextPointId { get; set; }
///
/// 下一点位编号
///
[SugarColumn(ColumnName = "next_point_no")]
public string NextPointNo { get; set; }
///
/// 结束点编号
///
[SugarColumn(ColumnName = "end_point_no")]
public string EndPointNo { get; set; }
///
/// 结束点id
///
[SugarColumn(ColumnName = "end_point_id")]
public long? EndPointId { get; set; }
///
/// 所属楼层
///
[SugarColumn(ColumnName = "floor_no")]
public int? FloorNo { get; set; }
///
/// 是否可用 0:不可用 1:可用
///
[SugarColumn(ColumnName = "use_flag")]
public int UseFlag { get; set; } = 1;
///
/// 创建者
///
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; } = "SYS";
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime CreateTime { get; set; } = DateTime.Now;
///
/// 更新者
///
[SugarColumn(ColumnName = "update_by")]
public string UpdateBy { get; set; } = "SYS";
///
/// 更新时间
///
[SugarColumn(ColumnName = "update_time")]
public DateTime UpdateTime { get; set; } = DateTime.Now;
///
/// 备用字段1
///
[SugarColumn(ColumnName = "ud1")]
public int? Ud1 { get; set; }
///
/// 备用字段2
///
[SugarColumn(ColumnName = "ud2")]
public string Ud2 { get; set; }
///
/// 备用字段3
///
[SugarColumn(ColumnName = "ud3")]
public string Ud3 { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
///
/// 来源楼层
///
[SugarColumn(ColumnName = "from_floor_no")]
public int? FromFloorNo { get; set; }
///
/// 是否为空
///
[SugarColumn(ColumnName = "is_empty")]
public string IsEmpty { get; set; }
///
/// 执行情况
///
[SugarColumn(ColumnName = "ctu_execute")]
public string CtuExecute { get; set; }
///
/// Agv返回code
///
[SugarColumn(ColumnName = "taskCode")]
public string TaskCode { get; set; }
///
/// 是否删除
///
[SugarColumn(ColumnName = "is_delete")]
public int IsDelete { get; set; } = 0;
///
/// 是否停止
///
[SugarColumn(ColumnName = "is_stop")]
public int? IsStop { get; set; }
}
}