The data layer is a persistent abstraction component of your database that PDO (O data layer é um componente para abstração de persistência no seu banco de dados que usa PDO com prepared statements)
the required () method must verify that the value being passed in the attribute is zero, otherwise, it will treat a true value, which should be used from zero as an empty attribute
the required () method must verify that the value being passed in the attribute is zero, otherwise, it will treat a true value, which should be used from zero as an empty attribute