<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "frapl01_1b".
 *
 * @property string $FRAPL01_UUID
 * @property string $FRAPL01_1B_UUID
 * @property string $FRAPL01_1B_INSTITUSI Nama Institusi / Perusahaan
 * @property string $FRAPL01_1B_JABATAN Jabatan
 * @property string $FRAPL01_1B_ALAMAT Alamat
 * @property string $FRAPL01_1B_POS Kode Pos
 * @property string $FRAPL01_1B_TEL Telepon
 * @property string $FRAPL01_1B_FAX Fax
 * @property string $FRAPL01_1B_EMAIL Email
 * @property string $CREATED
 * @property string $USERNAME
 */
class Frapl011b extends \yii\db\ActiveRecord
{


    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'frapl01_1b';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['FRAPL01_UUID', 'FRAPL01_1B_UUID', 'FRAPL01_1B_INSTITUSI', 'FRAPL01_1B_JABATAN', 'FRAPL01_1B_ALAMAT', 'FRAPL01_1B_POS', 'FRAPL01_1B_TEL', 'FRAPL01_1B_FAX', 'FRAPL01_1B_EMAIL', 'CREATED', 'USERNAME'], 'required'],
            [['FRAPL01_UUID', 'FRAPL01_1B_UUID'], 'string'],
            [['CREATED'], 'safe'],
            [['FRAPL01_1B_INSTITUSI', 'FRAPL01_1B_JABATAN'], 'string', 'max' => 100],
            [['FRAPL01_1B_ALAMAT'], 'string', 'max' => 255],
            [['FRAPL01_1B_POS'], 'string', 'max' => 5],
            [['FRAPL01_1B_TEL', 'FRAPL01_1B_FAX', 'FRAPL01_1B_EMAIL', 'USERNAME'], 'string', 'max' => 50],
            [['FRAPL01_1B_UUID'], 'unique'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'FRAPL01_UUID' => 'Frapl01 Uuid',
            'FRAPL01_1B_UUID' => 'Frapl01 1b Uuid',
            'FRAPL01_1B_INSTITUSI' => 'Nama Institusi / Perusahaan',
            'FRAPL01_1B_JABATAN' => 'Jabatan',
            'FRAPL01_1B_ALAMAT' => 'Alamat',
            'FRAPL01_1B_POS' => 'Kode Pos',
            'FRAPL01_1B_TEL' => 'Telepon',
            'FRAPL01_1B_FAX' => 'Fax',
            'FRAPL01_1B_EMAIL' => 'Email',
            'CREATED' => 'Created',
            'USERNAME' => 'Username',
        ];
    }

}
