|
@@ -31,9 +31,10 @@ class Estado extends ModeloBase {
|
|
|
public function rules() {
|
|
|
return [
|
|
|
[['id'], 'required'],
|
|
|
- [['clave'], 'integer'],
|
|
|
+ /* [['clave'], 'integer'], */
|
|
|
[['creado', 'modificado', 'eliminado'], 'safe'],
|
|
|
[['id', 'pais'], 'string', 'max' => 36],
|
|
|
+ [['idSagarhpa'], 'integer'],
|
|
|
[['nombre'], 'string', 'max' => 100],
|
|
|
[['abreviacion'], 'string', 'max' => 16],
|
|
|
[['id'], 'unique'],
|
|
@@ -46,13 +47,14 @@ class Estado extends ModeloBase {
|
|
|
public function attributeLabels() {
|
|
|
return [
|
|
|
'id' => 'ID',
|
|
|
+ 'idSagarhpa' => 'ID Sagarhpa',
|
|
|
'nombre' => 'Nombre',
|
|
|
'abreviacion' => 'Abreviacion',
|
|
|
'creado' => 'Creado',
|
|
|
'modificado' => 'Modificado',
|
|
|
'eliminado' => 'Eliminado',
|
|
|
- 'clave' => 'Clave',
|
|
|
- 'pais' => 'Pais',
|
|
|
+ /* 'clave' => 'Clave', */
|
|
|
+ /* 'pais' => 'Pais', */
|
|
|
];
|
|
|
}
|
|
|
|