<?php

namespace App\System\Model;
use App\System\Basic\beModel;

class TicketModel extends beModel {
    public $table = "be_tickets";
    public $primary_key = "tid";
    //@ioncube.dk beEncrypt("be_diyocp","beGetUserTicketStatus") -> "b89734a22d5420ec2d1221d636c2bf76" RANDOM
    public static function beGetUserTicketStatus(){
        return [
            "closed" => [
                0 => "Kapatıldı",
                1 => "danger"
            ],
            "active" => [
                0 => "Aktif",
                1 => "warning"
            ],
            "inprocess" => [
                0 => "İşlemde",
                1 => "success"
            ]
        ];
    }
    //@ioncube.dk beEncrypt("be_diyocp","beGetReplyStatus") -> "4170748c57bd3e13d3f669fd8e165564" RANDOM
    public static function beGetReplyStatus(){
        return [
            "user" => [
                0 => "Kullanıcı Cevapladı",
                1 => "info"
            ],
            "admin" => [
                0 => "Yönetici Cevapladı",
                1 => "primary"
            ]
        ];
    }
}

?>