1
This commit is contained in:
@@ -16,8 +16,9 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
* @property int $monthly_frequency 每月次数
|
||||
* @property string $effective_days 服务有效天数
|
||||
* @property string $service_rate 服务费率。100为满值,表示1,正常费率。
|
||||
* @property Carbon $created_at 创建时间
|
||||
* @property Carbon $updated_at 修改时间
|
||||
* @property string $discount_product_total_amount 折扣商品总价格
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
* @property \Carbon\Carbon $updated_at 修改时间
|
||||
*/
|
||||
class HealthPackage extends Model
|
||||
{
|
||||
@@ -31,7 +32,7 @@ class HealthPackage extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['package_id', 'service_count', 'monthly_frequency', 'effective_days', 'service_rate', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['package_id', 'service_count', 'monthly_frequency', 'effective_days', 'service_rate', 'discount_product_total_amount', 'created_at', 'updated_at'];
|
||||
|
||||
protected string $primaryKey = "package_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user