'integer', ]; public const SCENARIOS = [ 'vm_credentials' => 'Khởi tạo dịch vụ', 'renewal_reminder' => 'Nhắc gia hạn', 'news_notification'=> 'Thông báo tin tức', 'invoice_pdf' => 'Hoá đơn điện tử', ]; public function invoiceTemplate() { return $this->belongsTo(self::class, 'invoice_template_id'); } public function type() { return $this->belongsTo(\App\Models\Type::class); } }