22 lines
484 B
C#
22 lines
484 B
C#
using AyCode.Interfaces;
|
|
using AyCode.Interfaces.Entities;
|
|
using Nop.Core;
|
|
|
|
namespace Mango.Nop.Core.Dtos;
|
|
|
|
public interface IModelDtoBaseEmpty : IAcModelDtoBaseEmpty
|
|
{
|
|
}
|
|
|
|
public interface IModelDtoBase : IEntityInt, IModelDtoBaseEmpty
|
|
{
|
|
}
|
|
|
|
public interface IModelDtoBase<TMainEntity> : IModelDtoBase where TMainEntity : BaseEntity
|
|
{
|
|
TMainEntity CreateMainEntity();
|
|
|
|
void CopyDtoValuesToEntity(TMainEntity entity);
|
|
|
|
void CopyEntityValuesToDto(TMainEntity entity);
|
|
} |