新增 获取患者服务包订单服务权益详情 接口

This commit is contained in:
2024-04-12 19:51:47 +08:00
parent da86547892
commit a4f473d84b
2 changed files with 34 additions and 13 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ use Hyperf\Snowflake\Concern\Snowflake;
* @property int $package_product_id 主键id
* @property int $package_id 健康包id
* @property int $product_id 商品id
* @property string $product_name 商品名称
* @property int $quantity 数量
* @property string $discount_product_price 折扣商品价格
* @property \Carbon\Carbon $created_at 创建时间
@@ -31,7 +32,7 @@ class HealthPackageProduct extends Model
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['package_product_id', 'package_id', 'product_id', 'quantity', 'discount_product_price', 'created_at', 'updated_at'];
protected array $fillable = ['package_product_id', 'package_id', 'product_id', 'product_name', 'quantity', 'discount_product_price', 'created_at', 'updated_at'];
protected string $primaryKey = "package_product_id";