Laravel 11, Vuexy Admin 10.3, by admin@koneko.mx

This commit is contained in:
2025-01-25 04:23:40 -06:00
parent c3045b43b1
commit 64d505910f
1283 changed files with 140198 additions and 0 deletions

View File

@ -0,0 +1,50 @@
<?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',
];
}