Updates to 03-2025
This commit is contained in:
parent
6167273a48
commit
9b54eb0512
348 changed files with 34535 additions and 5774 deletions
|
|
@ -44,7 +44,6 @@ use Illuminate\Database\Eloquent\Model;
|
|||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereUrl($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereUsedBudgetTotal($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereUserDeletedAt($value)
|
||||
* @mixin \Eloquent
|
||||
* @property int $user_id
|
||||
* @property string|null $user_address
|
||||
* @property-read Collection|\App\Models\PromotionUserProduct[] $promotion_user_products
|
||||
|
|
@ -60,6 +59,9 @@ use Illuminate\Database\Eloquent\Model;
|
|||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereAboutYou($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereInternalDescription($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PromotionUser whereInternalName($value)
|
||||
* @property-read Collection<int, \App\Models\PromotionUserOrder> $promotion_user_orders
|
||||
* @property-read int|null $promotion_user_orders_count
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class PromotionUser extends Model
|
||||
{
|
||||
|
|
@ -71,7 +73,7 @@ class PromotionUser extends Model
|
|||
'pick_up' => 'bool',
|
||||
'used_budget_total' => 'float',
|
||||
'sell_items_total' => 'int',
|
||||
'active' => 'bool'
|
||||
'active' => 'bool',
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
|
|
@ -132,7 +134,6 @@ class PromotionUser extends Model
|
|||
}
|
||||
|
||||
|
||||
|
||||
public function getUrlPreview()
|
||||
{
|
||||
return $this->url ? config('app.promo_url')."/".$this->url : "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue