| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- declare(strict_types=1);
- namespace App\Model;
- /**
- * 销售订单表
- */
- class RTradeOrderModel extends Model
- {
- /**
- * The connection name for the model.
- */
- protected ?string $connection = 'robot';
- /**
- * The table associated with the model.
- */
- protected ?string $table = 'r_trade_order';
- public bool $timestamps = true;
- /**
- * The name of the "created at" column.
- *
- * @var null|string
- */
- public const CREATED_AT = 'create_time';
- /**
- * The name of the "updated at" column.
- *
- * @var null|string
- */
- public const UPDATED_AT = 'update_time';
- /**
- * The attributes that are mass assignable.
- */
- protected array $fillable = ['id', 'user_id', 'open_id', 'customer_phone', 'type', 'buy_order_id', 'site_id', 'robot_id', 'order_no', 'charging_pile_id', 'pile_imei', 'charge_model', 'plan_power', 'plan_amount', 'status', 'third_order_no', 'duration', 'voltage', 'electric_current', 'power', 'amount', 'charging_status', 'stop_reason', 'remark', 'seq', 'soc', 'create_time', 'update_time', 'del_flag'];
- /**
- * The attributes that should be cast to native types.
- */
- protected array $casts = [];
- }
|