feat: implement core material requisition, project management, and daily reporting modules with workflow validation and automated documentation support.
This commit is contained in:
@@ -5,6 +5,7 @@ namespace Modules\ProjectManagement\Models;
|
||||
use App\Models\User;
|
||||
use App\Traits\BelongsToTenant;
|
||||
use App\Traits\HasPublicIdentifier;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
@@ -20,7 +21,12 @@ use Modules\ProjectManagement\Enums\ProjectStatus;
|
||||
|
||||
class Project extends Model
|
||||
{
|
||||
use BelongsToTenant, HasPublicIdentifier, SoftDeletes;
|
||||
use BelongsToTenant, HasFactory, HasPublicIdentifier, SoftDeletes;
|
||||
|
||||
protected static function newFactory()
|
||||
{
|
||||
return \Modules\ProjectManagement\Database\Factories\ProjectFactory::new();
|
||||
}
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
|
||||
Reference in New Issue
Block a user