Files
usedcar/app/console/model/VehicleNewAlbumTranslationModel.php
T

56 lines
1.0 KiB
PHP
Raw Normal View History

2025-05-22 09:26:19 +08:00
<?php
namespace app\console\model;
use support\Model;
/**
* VehicleNewAlbumTranslationModel
*/
class VehicleNewAlbumTranslationModel extends Model
{
/**
* The connection name for the model.
*
* @var string|null
*/
protected $connection = 'mysql';
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'hs_vehicle_new_album_translation';
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'id';
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = true;
/**
* 模型的数据字段的保存格式。
*
* @var string
*/
protected $dateFormat = 'U';
/**
* 允许自动填充模型字段
*/
2025-05-26 10:47:48 +08:00
protected $fillable = ['id', 'album_id', 'locale', 'alt', 'created_at', 'updated_at'];
2025-05-22 09:26:19 +08:00
/**
* 不允许自动填充模型字段
*/
protected $guarded = [];
}