This commit is contained in:
2023-03-27 16:06:23 +08:00
parent 4a0a162297
commit ef0d80038d
6 changed files with 52 additions and 39 deletions
-4
View File
@@ -9,7 +9,6 @@ namespace App\Model;
use Hyperf\Database\Model\Collection;
use Hyperf\Database\Model\Model;
use Hyperf\Database\Model\Relations\HasOne;
use Hyperf\Snowflake\Concern\Snowflake;
/**
* @property int $prescription_product_id 主键id
@@ -28,12 +27,9 @@ use Hyperf\Snowflake\Concern\Snowflake;
* @property int $available_days 可用天数(3)
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
* @property-read Product $Product
*/
class OrderPrescriptionProduct extends Model
{
use Snowflake;
/**
* The table associated with the model.
*/