format('Y-m-d H:i:s'); } public function sheet() { return $this->hasOne(OrderSheet::class, 'join_sheet_order_id', 'order_id'); } public function member() { return $this->hasOne(Member::class, 'member_id', 'join_order_member_id'); } public function cert() { return $this->hasOne(MemberCert::class, 'join_cert_member_id', 'join_order_member_id'); } public function return() { return $this->hasOne(OrderReturn::class, 'join_return_order_id', 'order_id'); } public function express(){ return $this->hasOne(OrderExpress::class, 'join_express_order_id','order_id'); } }