修正返回值bigint被转义问题
This commit is contained in:
@@ -14,7 +14,7 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
* @property int $year 年(2023)
|
||||
* @property int $month 月(12)
|
||||
* @property int $day 日(01)
|
||||
* @property int $account_month_id 月份账户id
|
||||
* @property string $date 日期(2022-01-01)
|
||||
* @property string $total_amount_day 订单总金额-日
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
* @property \Carbon\Carbon $updated_at 修改时间
|
||||
@@ -31,12 +31,12 @@ class DoctorAccountDay extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['account_detail_id', 'doctor_id', 'year', 'month', 'day', 'account_month_id', 'total_amount_day', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['account_detail_id', 'doctor_id', 'year', 'month', 'day', 'date', 'total_amount_day', 'created_at', 'updated_at'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['account_detail_id' => 'integer', 'doctor_id' => 'integer', 'year' => 'integer', 'month' => 'integer', 'day' => 'integer', 'account_month_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
protected array $casts = ['account_detail_id' => 'integer', 'doctor_id' => 'integer', 'year' => 'integer', 'month' => 'integer', 'day' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
|
||||
protected string $primaryKey = "account_detail_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user