namespace GestionIntegral.Api.Models.Distribucion { public class Publicacion { public int IdPublicacion { get; set; } // Id_Publicacion (PK, Identity) public string Nombre { get; set; } = string.Empty; // Nombre (varchar(50), NOT NULL) public string? Observacion { get; set; } // Observacion (varchar(150), NULL) public int IdEmpresa { get; set; } // Id_Empresa (int, NOT NULL) public bool CtrlDevoluciones { get; set; } // CtrlDevoluciones (bit, NOT NULL, DEFAULT 0) public bool? Habilitada { get; set; } // Habilitada (bit, NULL, DEFAULT 1) - ¡OJO! En la tabla es NULLABLE con DEFAULT 1 } }