honey trap

This commit is contained in:
edmondlang
2023-03-17 18:40:48 +08:00
parent f6082382bf
commit 7cf7fdec54
14 changed files with 415 additions and 4 deletions
+8
View File
@@ -62,6 +62,14 @@ class Company extends AbstractModel implements Documentable
return $this->belongsToMany(Segment::class, (new SegmentCompany())->getTable(), 'company_id', 'segment_id');
}
/**
* @return belongsToMany
*/
public function seasonalSegments()
{
return $this->hasMany(SeasonalSegment::class);
}
/**
* @return belongsToMany
*/