1
This commit is contained in:
@@ -15,8 +15,9 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
* @property int $package_id 健康包id
|
||||
* @property int $product_id 商品id
|
||||
* @property int $quantity 数量
|
||||
* @property Carbon $created_at 创建时间
|
||||
* @property Carbon $updated_at 修改时间
|
||||
* @property string $discount_product_price 折扣商品价格
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
* @property \Carbon\Carbon $updated_at 修改时间
|
||||
*/
|
||||
class HealthPackageProduct extends Model
|
||||
{
|
||||
@@ -30,7 +31,7 @@ class HealthPackageProduct extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['package_product_id', 'package_id', 'product_id', 'quantity', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['package_product_id', 'package_id', 'product_id', 'quantity', 'discount_product_price', 'created_at', 'updated_at'];
|
||||
|
||||
protected string $primaryKey = "package_product_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user