物料管理
This commit is contained in:
42
ZR.Model/MES/mm/Dto/MmAgvLocationDto.cs
Normal file
42
ZR.Model/MES/mm/Dto/MmAgvLocationDto.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// agv位置表查询对象
|
||||
/// </summary>
|
||||
public class MmAgvLocationQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// agv位置表输入输出对象
|
||||
/// </summary>
|
||||
public class MmAgvLocationDto
|
||||
{
|
||||
[Required(ErrorMessage = "Id不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public int? AreaCode { get; set; }
|
||||
|
||||
public string Area { get; set; }
|
||||
|
||||
public int? Type { get; set; }
|
||||
|
||||
public string Coordinate { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "状态(0,无托盘,1有托盘,2未知)不能为空")]
|
||||
public int Status { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,8 +8,8 @@ namespace ZR.Model.MES.mm
|
||||
/// <summary>
|
||||
/// agv位置表
|
||||
/// </summary>
|
||||
[SugarTable("agv_location")]
|
||||
public class AgvLocation
|
||||
[SugarTable("mm_agv_location")]
|
||||
public class MmAgvLocation
|
||||
{
|
||||
/// <summary>
|
||||
/// Id
|
||||
@@ -17,15 +17,12 @@ namespace ZR.Model.MES.mm
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// AreaCode
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "area_code")]
|
||||
[SugarColumn(ColumnName = "area_code")]
|
||||
public int? AreaCode { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// </summary>
|
||||
@@ -41,6 +38,11 @@ namespace ZR.Model.MES.mm
|
||||
/// </summary>
|
||||
public string Coordinate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态(0,无托盘,1有托盘,2未知)
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
Reference in New Issue
Block a user