51 lines
1011 B
PHP
Raw Normal View History

<?php
namespace Modules\Admin\App\Models\Sat;
use Illuminate\Database\Eloquent\Model;
class Banco extends Model
{
// the list of status values that can be stored in table
const STATUS_ENABLED = 10;
const STATUS_DISABLED = 1;
/**
* List of names for each status.
* @var array
*/
public static $statusList = [
self::STATUS_ENABLED => 'Habilitado',
self::STATUS_DISABLED => 'Deshabilitado',
];
/**
* List of names for each status.
* @var array
*/
public static $statusListClass = [
self::STATUS_ENABLED => 'success',
self::STATUS_DISABLED => 'warning',
];
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'sat_banco';
/**
* The attributes that are mass assignable.
*
* @var string[]
*/
protected $fillable = [
'c_banco',
'descripcion',
'razon_social',
'rfc',
'status',
];
}