fix: 修复大小写问题

This commit is contained in:
陈淳
2023-02-20 19:57:13 +08:00
parent 1ed37897d5
commit d919e07096
25 changed files with 10601 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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 List<PurchaseDetailsCreateUpdateInput>? PurchaseDetails { 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;
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; }
}
}

View File

@@ -0,0 +1,21 @@
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 PurchaseStateEnum PurchaseState { get; set; }
}
}

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.Supplier.ConstConfig
{
public class SupplierConst
{
}
}

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.Supplier.MapperConfig
{
public class SupplierProfile:Profile
{
public SupplierProfile()
{
CreateMap<SupplierCreateUpdateInput, SupplierEntity>();
CreateMap<SupplierEntity, SupplierGetListOutput>();
}
}
}

View File

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

View File

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