TimestampBehavior::className(), 'updatedAtAttribute' => false, ], ]; } /** * @inheritdoc */ public static function tableName() { return '{{%article_meta}}'; } /** * @inheritdoc */ public function rules() { return [ [['aid'], 'required'], [['aid', 'created_at'], 'integer'], [['key'], 'string', 'max' => 255], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => Yii::t('app', 'ID'), 'aid' => Yii::t('app', 'Aid'), 'key' => Yii::t('app', 'Key'), 'value' => Yii::t('app', 'Value'), 'created_at' => Yii::t('app', 'Created At'), ]; } }