Your IP : 216.73.216.79


Current Path : /var/www/html/jkdm-deface/backend/models/
Upload File :
Current File : /var/www/html/jkdm-deface/backend/models/EodData.php

<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "eod_data".
 *
 * @property int $ID
 * @property int $eodid
 * @property string $transactionid
 * @property string $pmt_msgtoken
 * @property string $refno
 * @property string $pmt_refno
 * @property string $refno2
 * @property string $pmt_bank
 * @property string $currency
 * @property string $amount_paid
 * @property string $pmt_amount
 * @property string $pmt_code
 * @property string $bank_ref
 * @property string $com
 * @property string $acctno
 * @property string $others
 * @property string $created_at
 */
class EodData extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'eod_data';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['eodid'], 'integer'],
            [['amount_paid', 'pmt_amount'], 'number'],
            [['created_at'], 'safe'],
            [['transactionid', 'refno', 'pmt_refno', 'refno2'], 'string', 'max' => 50],
            [['pmt_msgtoken', 'pmt_code'], 'string', 'max' => 2],
            [['pmt_bank'], 'string', 'max' => 20],
            [['currency', 'bank_ref', 'acctno', 'others'], 'string', 'max' => 100],
            [['com'], 'string', 'max' => 10],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'ID' => Yii::t('app', 'ID'),
            'eodid' => Yii::t('app', 'Eodid'),
            'transactionid' => Yii::t('app', 'Transactionid'),
            'pmt_msgtoken' => Yii::t('app', 'Pmt Msgtoken'),
            'refno' => Yii::t('app', 'Refno'),
            'pmt_refno' => Yii::t('app', 'Pmt Refno'),
            'refno2' => Yii::t('app', 'Refno2'),
            'pmt_bank' => Yii::t('app', 'Pmt Bank'),
            'currency' => Yii::t('app', 'Currency'),
            'amount_paid' => Yii::t('app', 'Amount Paid'),
            'pmt_amount' => Yii::t('app', 'Pmt Amount'),
            'pmt_code' => Yii::t('app', 'Pmt Code'),
            'bank_ref' => Yii::t('app', 'Bank Ref'),
            'com' => Yii::t('app', 'Com'),
            'acctno' => Yii::t('app', 'Acctno'),
            'others' => Yii::t('app', 'Others'),
            'created_at' => Yii::t('app', 'Created At'),
        ];
    }
}