using Microsoft.EntityFrameworkCore;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace Admin.NET.Core
|
{
|
/// <summary>
|
/// Agv任务表
|
/// </summary>
|
[Comment("Agv任务表")]
|
[Table("les_agv_task")]
|
public class AgvTask : DEntityBase
|
{
|
/// <summary>
|
/// 任务类型-入库;出库
|
/// </summary>
|
[Comment("任务类型-入库;出库")]
|
[MaxLength(10)]
|
public string TaskType { get; set; }
|
|
/// <summary>
|
/// 起始位置
|
/// </summary>
|
[Comment("起始位置")]
|
[MaxLength(50)]
|
public string StartPlace { get; set; }
|
|
/// <summary>
|
/// 起始名称
|
/// </summary>
|
[Comment("起始名称")]
|
[MaxLength(50)]
|
public string StartName { get; set; }
|
|
/// <summary>
|
/// 结束位置
|
/// </summary>
|
[Comment("结束位置")]
|
[MaxLength(50)]
|
public string EndPlace { get; set; }
|
|
/// <summary>
|
/// 结束名称
|
/// </summary>
|
[Comment("结束名称")]
|
[MaxLength(50)]
|
public string EndName { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// PRISTINE:待执行
|
/// TRAVELLING:执行中
|
/// FINISHED:完成
|
/// </summary>
|
[Comment("状态")]
|
[MaxLength(50)]
|
public string AgvState { get; set; }
|
|
/// <summary>
|
/// 当前执行的任务
|
/// </summary>
|
[Comment("当前执行的任务")]
|
[MaxLength(100)]
|
public string TransportOrder { get; set; }
|
|
/// <summary>
|
/// 主任务号
|
/// </summary>
|
[Comment("主任务号")]
|
[MaxLength(50)]
|
public string TaskNo { get; set; }
|
|
/// <summary>
|
/// Agv父Id
|
/// </summary>
|
[Comment("Agv父Id")]
|
public long Pid { get; set; }
|
|
/// <summary>
|
/// 容器编号
|
/// </summary>
|
[Comment("容器编号")]
|
[MaxLength(50)]
|
public string ContainerCode { get; set; }
|
|
/// <summary>
|
/// 所属车间
|
/// </summary>
|
[Comment("所属车间")]
|
public LesWorkShopType WorkShopType { get; set; }
|
|
|
/// <summary>
|
/// 起始库位名称
|
/// </summary>
|
[Comment("起始库位名称")]
|
[MaxLength(50)]
|
public string SourcePlaceName { get; set; }
|
}
|
}
|