Init Commit
This commit is contained in:
66
Backend/MotoresArgentinosV2.Core/DTOs/DatosAvisoDto.cs
Normal file
66
Backend/MotoresArgentinosV2.Core/DTOs/DatosAvisoDto.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MotoresArgentinosV2.Core.DTOs;
|
||||
|
||||
public class DatosAvisoDto
|
||||
{
|
||||
// --- Bytes (TinyInt en SQL) ---
|
||||
[Column("ID_TIPOAVI")]
|
||||
public byte IdTipoavi { get; set; }
|
||||
|
||||
[Column("ID_SUBRUBRO")]
|
||||
public byte IdSubrubro { get; set; }
|
||||
|
||||
// --- Shorts (SmallInt en SQL) ---
|
||||
// ESTE ERA EL CAUSANTE DEL ERROR PRINCIPAL
|
||||
[Column("ID_RUBRO")]
|
||||
public short IdRubro { get; set; }
|
||||
|
||||
// --- Ints (Int32 en SQL) ---
|
||||
[Column("ID_COMBINADO")]
|
||||
public int IdCombinado { get; set; }
|
||||
|
||||
[Column("PORCENTAJE_COMBINADO")]
|
||||
public int PorcentajeCombinado { get; set; }
|
||||
|
||||
[Column("CANTIDAD_DIAS")]
|
||||
public int CantidadDias { get; set; }
|
||||
|
||||
[Column("DIAS_CORRIDOS")]
|
||||
public int DiasCorridos { get; set; }
|
||||
|
||||
[Column("PALABRAS")]
|
||||
public int Palabras { get; set; }
|
||||
|
||||
[Column("CENTIMETROS")]
|
||||
public int Centimetros { get; set; }
|
||||
|
||||
[Column("COLUMNAS")]
|
||||
public int Columnas { get; set; }
|
||||
|
||||
[Column("TOTAL_AVISOS")]
|
||||
public int TotalAvisos { get; set; }
|
||||
|
||||
[Column("DESTACADO")]
|
||||
public int Destacado { get; set; }
|
||||
|
||||
[Column("PAQUETE")]
|
||||
public int Paquete { get; set; }
|
||||
|
||||
// --- Decimales ---
|
||||
[Column("IMPORTE_SINIVA")]
|
||||
public decimal ImporteSiniva { get; set; }
|
||||
|
||||
[Column("IMPORTE_TOTSINIVA")]
|
||||
public decimal ImporteTotsiniva { get; set; }
|
||||
|
||||
// --- Strings ---
|
||||
[Column("NOMAVI")]
|
||||
public string Nomavi { get; set; } = string.Empty;
|
||||
|
||||
[Column("TEXTOAVI")]
|
||||
public string Textoavi { get; set; } = string.Empty;
|
||||
|
||||
[Column("DESCRIPCION")]
|
||||
public string Descripcion { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user