目录调整
This commit is contained in:
15
ProductionMgr/Tnb.ProductionMgr.Entities/Mapper/Mapper.cs
Normal file
15
ProductionMgr/Tnb.ProductionMgr.Entities/Mapper/Mapper.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Mapster;
|
||||
using Tnb.ProductionMgr.Entities.Dto;
|
||||
using Tnb.ProductionMgr.Entities;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities.Mapper
|
||||
{
|
||||
public class Mapper : IRegister
|
||||
{
|
||||
public void Register(TypeAdapterConfig config)
|
||||
{
|
||||
config.ForType<PrdTask, PrdTaskLog>()
|
||||
.Map(dest => dest.task_id, src => src.prd_task_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user