Spaces:
Runtime error
Runtime error
Download src/SCM.Application/Controle/ItemControleMappings.cs from rafaeldavila/scm-api: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Application/Controle/ItemControleMappings.cs
- Command line
-
hf download hf://spaces/rafaeldavila/scm-api/src/SCM.Application/Controle/ItemControleMappings.cs
-
curl -L -o ItemControleMappings.cs https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Application/Controle/ItemControleMappings.cs
498 Bytes
| 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); | |
| } | |