You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace App\Models\HtpmsCustomer\Mst;
-
- use App\Models\HtpmsCustomer\HtpmsCustomerAppModel;
- use App\Models\User;
- use Illuminate\Database\Eloquent\Relations\HasMany;
-
- /**
- * 店舗マスタ
- */
- class Shop extends HtpmsCustomerAppModel
- {
- const COL_NAME_NAME = "name"; // 名称
- const COL_NAME_MEMO = "memo"; // メモ
- const COL_NAME_QR_SERVICE_EXPIRE_MIN = "qr_service_expire_min"; // QRサービス券有効期限
- const COL_NAME_UNDER_AMOUNT_WHEN_CREATE = "under_amount_when_create"; //発行時デポジット下限値
- const COL_NAME_UNDER_AMOUNT_WHEN_AUTH = "under_amount_when_auth"; //認証時デポジット下限値
- const COL_NAME_UNDER_AMOUNT_WHEN_USE = "under_amount_when_use"; // 利用時デポジット下限値
-
- protected $table = "tbl3_mst_shops";
-
- public function getModelName(): string
- {
- return "店舗マスタ";
- }
-
- public function users(): HasMany
- {
- return $this->hasMany(User::class);
- }
- }
|