mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-05 08:46:35 +08:00
大小写问题
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.Purchase
|
||||
{
|
||||
/// <summary>
|
||||
/// 回款
|
||||
/// </summary>
|
||||
public class CollectionInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 采购订单id
|
||||
/// </summary>
|
||||
public long PurchaseId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///回款钱
|
||||
/// </summary>
|
||||
public float CollectionMoney { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.DtoModel.ERP.PurchaseDetails;
|
||||
using Yi.Framework.Model.Base;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.Purchase
|
||||
{
|
||||
public class PurchaseCreateInput
|
||||
{
|
||||
public string Code { get; set; } = string.Empty;
|
||||
public DateTime? NeedTime { get; set; }
|
||||
public string Buyer { get; set; } = string.Empty;
|
||||
|
||||
public string? Remarks { get; set; }
|
||||
|
||||
public long SupplierId { get; set; }
|
||||
|
||||
public List<PurchaseDetailsCreateUpdateInput>? PurchaseDetails { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.Purchase
|
||||
{
|
||||
public class PurchaseGetListInput
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
public DateTime? NeedTime { get; set; }
|
||||
public string? Buyer { get; set; }
|
||||
public PurchaseStateEnum? PurchaseState { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Base;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.Purchase
|
||||
{
|
||||
public class PurchaseUpdateInput : EntityDto<long>
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
public DateTime NeedTime { get; set; }
|
||||
public string? Buyer { get; set; }
|
||||
public long TotalMoney { get; set; }
|
||||
public long PaidMoney { get; set; }
|
||||
|
||||
public string? Remarks { get; set; }
|
||||
public PurchaseStateEnum PurchaseState { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.Purchase
|
||||
{
|
||||
/// <summary>
|
||||
/// 收货
|
||||
/// </summary>
|
||||
public class ReceiptInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 采购订单id
|
||||
/// </summary>
|
||||
public long PurchaseId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class ReceiptDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单子表id
|
||||
/// </summary>
|
||||
public long PurchaseDatilesId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收货数量
|
||||
/// </summary>
|
||||
public long Number { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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>();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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.StockDetails.ConstConfig
|
||||
{
|
||||
public class StockDetailsConst
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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.StockDetails.MapperConfig
|
||||
{
|
||||
public class SuppliERProfile:Profile
|
||||
{
|
||||
public SuppliERProfile()
|
||||
{
|
||||
CreateMap<StockDetailsCreateUpdateInput, StockDetailsEntity>();
|
||||
CreateMap<StockDetailsEntity, StockDetailsGetListOutput>();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Base;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.StockDetails
|
||||
{
|
||||
public class StockDetailsCreateUpdateInput : EntityDto<long>
|
||||
{
|
||||
public long WarehouseId { get; set; }
|
||||
public long MaterialId { get; set; }
|
||||
public long Number { get; set; }
|
||||
public string? Quality { get; set; }
|
||||
public StockDetailsTypeEnum StockDetailsType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.StockDetails
|
||||
{
|
||||
public class StockDetailsGetListInput
|
||||
{
|
||||
public long WarehouseName { get; set; }
|
||||
public long MaterialName { get; set; }
|
||||
public string? Quality { get; set; }
|
||||
public StockDetailsTypeEnum StockDetailsType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Model.Base;
|
||||
using Yi.Framework.Model.ERP.Entitys;
|
||||
|
||||
namespace Yi.Framework.DtoModel.ERP.StockDetails
|
||||
{
|
||||
public class StockDetailsGetListOutput: EntityDto<long>
|
||||
{
|
||||
public long WarehouseName { get; set; }
|
||||
public long MaterialName { get; set; }
|
||||
public long Number { get; set; }
|
||||
public string? Quality { get; set; }
|
||||
public DateTime StockDetailsTime { get; set; }
|
||||
public StockDetailsTypeEnum StockDetailsType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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.Supplier.ConstConfig
|
||||
{
|
||||
public class SupplierConst
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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.Supplier.MapperConfig
|
||||
{
|
||||
public class SupplierProfile:Profile
|
||||
{
|
||||
public SupplierProfile()
|
||||
{
|
||||
CreateMap<SupplierCreateUpdateInput, SupplierEntity>();
|
||||
CreateMap<SupplierEntity, SupplierGetListOutput>();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
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.Supplier
|
||||
{
|
||||
public class SupplierCreateUpdateInput : EntityDto<long>
|
||||
{
|
||||
public string Code { get; set; } = string.Empty;
|
||||
public string Name { get; set; }= string.Empty;
|
||||
public string? Address { get; set; }
|
||||
public long? Phone { get; set; }
|
||||
public string? Fax { get; set; }
|
||||
public string? Email { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
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.Supplier
|
||||
{
|
||||
public class SupplierGetListOutput: EntityDto<long>
|
||||
{
|
||||
public string Code { get; set; } = string.Empty;
|
||||
public string Name { get; set; }= string.Empty;
|
||||
public string? Address { get; set; }
|
||||
public long? Phone { get; set; }
|
||||
public string? Fax { get; set; }
|
||||
public string? Email { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user