feat: implement core material requisition, project management, and daily reporting modules with workflow validation and automated documentation support.
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Modules\MasterData\Models;
|
||||
|
||||
use App\Traits\BelongsToTenant;
|
||||
use App\Traits\HasPublicIdentifier;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
@@ -15,7 +16,12 @@ use Modules\MaterialLogistics\Models\MaterialDeployment;
|
||||
|
||||
class Material extends Model
|
||||
{
|
||||
use HasPublicIdentifier, BelongsToTenant;
|
||||
use BelongsToTenant, HasFactory, HasPublicIdentifier;
|
||||
|
||||
protected static function newFactory()
|
||||
{
|
||||
return \Modules\MasterData\Database\Factories\MaterialFactory::new();
|
||||
}
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'sku', 'category', 'unit',
|
||||
|
||||
Reference in New Issue
Block a user