|
|
@ -2,8 +2,8 @@ |
|
|
|
|
|
|
|
namespace backend\modules\file\models\ars; |
|
|
|
|
|
|
|
use Yii; |
|
|
|
use yii\behaviors\TimestampBehavior; |
|
|
|
use yii\db\ActiveRecord; |
|
|
|
|
|
|
|
/** |
|
|
|
* This is the model class for table "ats_tem_file". |
|
|
@ -17,7 +17,7 @@ use yii\behaviors\TimestampBehavior; |
|
|
|
* @property int $updated_at 更新时间 |
|
|
|
* @property int $created_at 创建时间 |
|
|
|
*/ |
|
|
|
class TemFile extends \yii\db\ActiveRecord |
|
|
|
class TemFile extends ActiveRecord |
|
|
|
{ |
|
|
|
|
|
|
|
/** |
|
|
@ -69,7 +69,7 @@ class TemFile extends \yii\db\ActiveRecord |
|
|
|
{ |
|
|
|
return [ |
|
|
|
[ |
|
|
|
'class' => TimestampBehavior::className(), |
|
|
|
'class' => TimestampBehavior::class, |
|
|
|
'createdAtAttribute' => 'created_at', |
|
|
|
'updatedAtAttribute' => 'updated_at', |
|
|
|
'value' => function() { |
|
|
|