|UnitUser newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|UnitUser newQuery() * @method static \Illuminate\Database\Eloquent\Builder|UnitUser query() * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereUnitId($value) * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|UnitUser whereUserId($value) * @mixin \Eloquent */ class UnitUser extends Model { use HasFactory; protected $table = 'unit_users'; protected $guarded = [ 'id', // Add more fields that shouldn't be edited here ]; protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', // Add your casts here (e.g., 'is_active' => 'boolean') ]; // Relationships // Business Logic Methods // Custom Finders // Query Scopes }