añadido un bit de habilitado
This commit is contained in:
@@ -424,6 +424,10 @@ public partial class AlquilaFacilContext : DbContext
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Habilitado)
|
||||
.IsRequired()
|
||||
.HasDefaultValueSql("'1'")
|
||||
.HasColumnName("habilitado");
|
||||
entity.Property(e => e.Nombre)
|
||||
.HasMaxLength(12)
|
||||
.HasColumnName("nombre");
|
||||
|
||||
@@ -10,6 +10,8 @@ public partial class Grupo:IComponenteSeguridad
|
||||
|
||||
public string Nombre { get; set; } = null!;
|
||||
|
||||
public bool? Habilitado { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual ICollection<Grupo> IdGrupoHijos { get; set; } = new List<Grupo>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user