TimestampBehavior::class, 'attributes' => [ ActiveRecord::EVENT_BEFORE_INSERT => ['created_at'], ] ] ]; } // /** // * @inheritdoc // */ // public function rules() // { // return [ // [['id', 'store_id', 'could_user_id', 'could_store_id', 'is_delete','created_at', 'updated_at','type'], 'integer'], // [['access_token', 'name', 'logo', 'tel', 'certificate', 'id_card_reverse','id_card_front','password'], 'string'] // ]; // } }