You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
declare (strict_types=1);
namespace App\Model\v3;
use Hyperf\DbConnection\Model\Model;
/** * @property int $id * @property int $order_main_id * @property string $main_ordr_no * @property string $pymd_cd * @property string $clrg_dt * @property string $sub_appid * @property string $sub_openid * @property string $py_ordr_tpcd * @property float $ordr_tamt * @property float $txn_tamt * @property string $orderlist * @property string $py_trn_no * @property string $prim_ordr_no * @property string $ordr_gen_tm * @property string $cshdk_url * @property string $rtn_par_data * @property string $ordr_stcd * @property string $rtn_orderlist * @property string $pay_time * @property string $pay_type * @property string $pay_channel * @property string $debit_credit_type * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_at */class CcbPayment extends Model{ /** * The table associated with the model. * * @var string */ protected $table = 'lanzu_ccb_payment'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = []; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'id' => 'integer', 'order_main_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', ];
public function orderMain() { return $this->belongsTo(OrderMain::class, 'order_main_id', 'global_order_id'); }}
|