物料管理

This commit is contained in:
qianhao.xu
2024-04-26 11:20:39 +08:00
parent 9c77c90f5d
commit 6da6069678
6 changed files with 274 additions and 10 deletions

View 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; }
}
}

View File

@@ -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>