From 26e5834d398e3035259e9f6640cfdc819a0abe3e Mon Sep 17 00:00:00 2001 From: marina Date: Mon, 17 Nov 2025 11:51:55 +0300 Subject: [PATCH] =?utf8?q?ERP-453=20=D1=8D=D0=BD=D0=B4=D0=BF=D0=BE=D0=B8?= =?utf8?q?=D0=BD=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D0=BE=D1=82=D0=B7?= =?utf8?q?=D1=8B=D0=B2=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../migrations/m251114_000000_create_table_user_reviews.php | 4 ++-- erp24/records/UserReviews.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/erp24/migrations/m251114_000000_create_table_user_reviews.php b/erp24/migrations/m251114_000000_create_table_user_reviews.php index dd5c7890..d7bcf06b 100644 --- a/erp24/migrations/m251114_000000_create_table_user_reviews.php +++ b/erp24/migrations/m251114_000000_create_table_user_reviews.php @@ -22,8 +22,8 @@ class m251114_000000_create_table_user_reviews extends Migration 'sale_date' => $this->timestamp()->notNull()->comment('Дата продажи'), 'survey_date' => $this->timestamp()->notNull()->comment('Дата опроса'), 'receipt_number' => $this->string()->notNull()->comment('Номер чека'), - 'store_id' => $this->string()->notNull()->comment('ID магазина'), - 'admin_id' => $this->string()->null()->comment('ID администратора'), + 'store_id' => $this->string()->notNull()->comment('GUID магазина'), + 'admin_id' => $this->string()->null()->comment('GUID администратора'), 'rating_florist' => $this->integer()->notNull()->comment('Оценка работы флориста'), 'rating_cleanliness' => $this->integer()->notNull()->comment('Оценка чистоты и комфорта в магазине'), 'rating_assortment' => $this->integer()->notNull()->comment('Оценка ассортимента цветов'), diff --git a/erp24/records/UserReviews.php b/erp24/records/UserReviews.php index fe02b73e..ff7f6cc1 100644 --- a/erp24/records/UserReviews.php +++ b/erp24/records/UserReviews.php @@ -13,7 +13,7 @@ use Yii; * @property string $survey_date Дата опроса * @property string $receipt_number Номер чека * @property string $store_id ID магазина - * @property string|null $admin_id ID администратора + * @property string $admin_id ID администратора * @property int $rating_florist Оценка работы флориста * @property int $rating_cleanliness Оценка чистоты и комфорта в магазине * @property int $rating_assortment Оценка ассортимента цветов @@ -57,8 +57,8 @@ class UserReviews extends \yii\db\ActiveRecord 'sale_date' => 'Дата продажи', 'survey_date' => 'Дата опроса', 'receipt_number' => 'Номер чека', - 'store_id' => 'ID магазина', - 'admin_id' => 'ID администратора', + 'store_id' => 'GUID магазина', + 'admin_id' => 'GUID администратора', 'rating_florist' => 'Оценка работы флориста', 'rating_cleanliness' => 'Оценка чистоты и комфорта в магазине', 'rating_assortment' => 'Оценка ассортимента цветов', -- 2.39.5