Spaces:
Runtime error
Runtime error
File size: 498 Bytes
de8b914 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | using SCM.Application.Controle.Dtos;
using SCM.Domain.Controle;
namespace SCM.Application.Controle;
internal static class ItemControleMappings
{
public static ItemControleResponse ToResponse(this ItemControle ic, int qtdItensProgramados) => new(
ic.Id,
ic.Codigo,
ic.Descricao,
ic.ObraId,
qtdItensProgramados,
ic.QuantidadeMedicao,
ic.EstadoAvanco.ToString(),
ic.GitecPendencia.ToString(),
ic.RevalidacaoPendente);
}
|