Перевод на DDD

This commit is contained in:
brusnitsyn
2026-07-31 17:19:03 +09:00
parent 2dd55b9d11
commit 2c6d4a04cc
48 changed files with 1796 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class Id
{
const FIELD_NAME = 'id';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class PeriodEnd
{
const FIELD_NAME = 'period_end';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class PeriodStart
{
const FIELD_NAME = 'period_start';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class PeriodType
{
const FIELD_NAME = 'period_type';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class ReportDate
{
const FIELD_NAME = 'report_date';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class ReportMonth
{
const FIELD_NAME = 'report_month';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class ReportYear
{
const FIELD_NAME = 'report_year';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class RfDepartmentId
{
const FIELD_NAME = 'rf_department_id';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class RfLpudoctorId
{
const FIELD_NAME = 'rf_lpudoctor_id';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class RfUserId
{
const FIELD_NAME = 'rf_user_id';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class SentAt
{
const FIELD_NAME = 'sent_at';
public function getField(): string
{
return self::FIELD_NAME;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Domain\ReportDuty\Models\ValueObjects;
class StatusId
{
const FIELD_NAME = 'status_id';
public function getField(): string
{
return self::FIELD_NAME;
}
}