新增BZFM物料管理相关后端接口与服务实现
本次提交为BZFM模块新增了物料管理相关的核心后端能力,包括库位、物料、物料分类、出入库记录、出入库类别等6张表的Controller、实体、DTO、Service及接口定义,实现了标准的增删改查接口,支持权限校验、AOP日志、分页查询等,完善了物料管理基础后端支撑。
This commit is contained in:
59
DOAN.Model/MES/Material/Dto/MmRecordOutboundDto.cs
Normal file
59
DOAN.Model/MES/Material/Dto/MmRecordOutboundDto.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
|
||||
namespace DOAN.Model.BZFM.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 出库记录表查询对象
|
||||
/// </summary>
|
||||
public class MmRecordOutboundQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 出库记录表输入输出对象
|
||||
/// </summary>
|
||||
public class MmRecordOutboundDto
|
||||
{
|
||||
[Required(ErrorMessage = "主键ID不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "出库单号不能为空")]
|
||||
public string OutboundNo { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "物料编码不能为空")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "仓库编码不能为空")]
|
||||
public string WarehouseCode { get; set; }
|
||||
|
||||
public string WarehouseName { get; set; }
|
||||
|
||||
public string LocationCode { get; set; }
|
||||
|
||||
public string LocationName { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "出库数量不能为空")]
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
public string Unit { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "出库类型不能为空")]
|
||||
public string TransactionType { get; set; }
|
||||
|
||||
public string BatchNo { get; set; }
|
||||
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
public string Operator { get; set; }
|
||||
|
||||
public string Remarks { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
[ExcelColumn(Name = "出库类型")]
|
||||
public string TransactionTypeLabel { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user