添加库存管理,入库、出库,收款、回款接口

This commit is contained in:
橙子
2023-01-08 21:52:18 +08:00
parent 8077450be0
commit 27ca377762
28 changed files with 1285 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.DtoModel.ERP.Stock.ConstConfig
{
public class StockConst
{
}
}

View File

@@ -0,0 +1,20 @@
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.ERP.Entitys;
namespace Yi.Framework.DtoModel.ERP.Stock.MapperConfig
{
public class SuppliERProfile:Profile
{
public SuppliERProfile()
{
CreateMap<StockCreateUpdateInput, StockEntity>();
CreateMap<StockEntity, StockGetListOutput>();
}
}
}

View File

@@ -0,0 +1,18 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Base;
namespace Yi.Framework.DtoModel.ERP.Stock
{
public class StockCreateUpdateInput : EntityDto<long>
{
public long WarehouseId { get; set; }
public long MaterialId { get; set; }
public long Number { get; set; }
public string? Quality { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Base;
namespace Yi.Framework.DtoModel.ERP.Stock
{
public class StockGetListInput
{
public long Number { get; set; }
public string? Quality { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Base;
namespace Yi.Framework.DtoModel.ERP.Stock
{
public class StockGetListOutput: EntityDto<long>
{
public string MaterialName { get; set; } = string.Empty;
public string UnitName { get; set; } = string.Empty;
public string WarehouseName { get; set; } = string.Empty;
public long Number { get; set; }
public string? Quality { get; set; }
}
}