|Supplier newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Supplier newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Supplier query() * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereDocument($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereSupplierType($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereUnitId($value) * @method static \Illuminate\Database\Eloquent\Builder|Supplier whereUpdatedAt($value) * @mixin \Eloquent */ class Supplier extends Model { use HasFactory; protected $table = 'suppliers'; 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 }