修正返回值bigint被转义问题
This commit is contained in:
@@ -10,14 +10,11 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
|
||||
/**
|
||||
* @property int $account_month_id 主键id
|
||||
* @property int $account_id 账户id
|
||||
* @property int $doctor_id 医生id
|
||||
* @property int $year 年(2023)
|
||||
* @property int $month 月(12)
|
||||
* @property string $month_date 日期(Y-m)
|
||||
* @property string $total_amount 总金额
|
||||
* @property string $withdrawal_amount 已提现金额
|
||||
* @property string $undrawn_amount 未提现金额
|
||||
* @property string $income_tax 已提现所得税
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
* @property \Carbon\Carbon $updated_at 修改时间
|
||||
@@ -34,12 +31,12 @@ class DoctorAccountMonth extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['account_month_id', 'account_id', 'doctor_id', 'year', 'month', 'month_date', 'total_amount', 'withdrawal_amount', 'undrawn_amount', 'income_tax', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['account_month_id', 'doctor_id', 'year', 'month', 'total_amount', 'withdrawal_amount', 'income_tax', 'created_at', 'updated_at'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['account_month_id' => 'integer', 'account_id' => 'integer', 'doctor_id' => 'integer', 'year' => 'integer', 'month' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
protected array $casts = ['account_month_id' => 'integer', 'doctor_id' => 'integer', 'year' => 'integer', 'month' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
|
||||
protected string $primaryKey = "account_month_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user