$travel_programs * @property-read int|null $travel_programs_count * @method static \Illuminate\Database\Eloquent\Builder|TravelGerneralNote whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|TravelGerneralNote whereText($value) * @mixin \Eloquent */ class TravelGerneralNote extends Model { protected $connection = 'mysql_stern'; protected $table = 'travel_general_notes'; public $timestamps = false; protected $fillable = [ 'name', 'text', // 'active' ]; public function travel_programs() { return $this->hasMany(TravelProgram::class, 'generalnote'); } }