<?php

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

class CouponModel extends beModel {
    public $table = "be_coupons";
    public $primary_key = "cid";
    //@ioncube.dk beEncrypt("be_diyocp","beGetCouponStatus") -> "4e0de125a0b5c6be234d6855ade24b4e" RANDOM
    public static function beGetCouponStatus(){
        return [
            -1 => [
                0 => "İptal Edilmiş",
                1 => "danger"
            ],
            0 => [
                0 => "Süresi Bitmiş",
                1 => "primary"
            ],
            1 => [
                0 => "Aktif",
                1 => "success"
            ]
        ];
    }
    //@ioncube.dk beEncrypt("be_diyocp","beGetCouponTypes") -> "0778c52b9939e7aff9a9852c19585205" RANDOM
    public static function beGetCouponTypes(){
        return [
            1 => "Yüzde",
            2 => "Direkt"
        ];
    }
}

?>