172 lines
3.6 KiB
C#
172 lines
3.6 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
namespace DOAN.Model.MES.base_.Dto
|
|
{
|
|
/// <summary>
|
|
/// 物料清单查询对象
|
|
/// </summary>
|
|
public class BaseMaterialListQueryDto : PagerInfo
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public int Type { get; set; }
|
|
|
|
public int? FkTypeId { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string CustomerCode { get; set; }
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
public DateTime[] TimeRange { get; set; }
|
|
}
|
|
|
|
public class BaseMaterialListQueryDto2 : PagerInfo
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public int Type { get; set; }
|
|
|
|
public int? FkTypeId { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string CustomerCode { get; set; }
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
public DateTime[] TimeRange { get; set; }
|
|
}
|
|
|
|
public class BaseMaterialListQueryDto3 : PagerInfo
|
|
{
|
|
/// <summary>
|
|
/// 成品id
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string CustomerCode { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料清单输入输出对象
|
|
/// </summary>
|
|
public class BaseMaterialListDto
|
|
{
|
|
|
|
public string Id { get; set; }
|
|
|
|
public int? FkTypeId { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string CustomerCode { get; set; }
|
|
|
|
public string Color { get; set; }
|
|
|
|
public string Specification { get; set; }
|
|
|
|
public string Unit { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public int? FkSupplierId { get; set; }
|
|
|
|
public string ExpirationUnit { get; set; }
|
|
|
|
public decimal ExpirationDate { get; set; }
|
|
|
|
public int? ShelfLifeWarningDays { get; set; }
|
|
|
|
public int? IsShelfLife { get; set; }
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
public DateTime? StopTime { get; set; }
|
|
|
|
public string BarCode { get; set; }
|
|
|
|
public int? IsBatch { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
public class BaseMaterialListDto2
|
|
{
|
|
|
|
|
|
public string Type_Name { get; set; }
|
|
|
|
public string Type_Code { get; set; }
|
|
|
|
public string SupplierName { get; set; }
|
|
|
|
public string Id { get; set; }
|
|
|
|
public int? FkTypeId { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string CustomerCode { get; set; }
|
|
|
|
public string Color { get; set; }
|
|
|
|
public string Specification { get; set; }
|
|
|
|
public string Unit { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public int? FkSupplierId { get; set; }
|
|
|
|
public string ExpirationUnit { get; set; }
|
|
|
|
public decimal ExpirationDate { get; set; }
|
|
|
|
public int? ShelfLifeWarningDays { get; set; }
|
|
|
|
public int? IsShelfLife { get; set; }
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
|
|
public DateTime? StopTime { get; set; }
|
|
|
|
public string BarCode { get; set; }
|
|
|
|
public int? IsBatch { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
} |