aumentada la cantidad de caracteres en la descripcion

This commit is contained in:
2025-01-21 18:39:51 -03:00
parent 9c12cfb261
commit f9470bb005
2 changed files with 2 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ public partial class AlquilaFacilContext : DbContext
.HasPrecision(12)
.HasColumnName("costo");
entity.Property(e => e.Descripcion)
.HasMaxLength(40)
.HasMaxLength(100)
.HasColumnName("descripcion");
entity.Property(e => e.Idcontrato)
.HasColumnType("bigint(20)")

View File

@@ -8,7 +8,7 @@ public partial class Permiso
{
public int Id { get; set; }
public string? Descripcion { get; set; }
public string Descripcion { get; set; } = null!;
[JsonIgnore]
public virtual ICollection<Grupo> Idgrupos { get; set; } = new List<Grupo>();