<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "frapl01_2b".
 *
 * @property string $FRAPL01_UUID
 * @property string $FRAPL01_2B_UUID
 * @property string $FRAPL01_2B_KODE Kode Unit
 * @property string $FRAPL01_2B_JUDUL Judul Unit
 * @property string $FRAPL01_2B_SKK Standard Kompetensi Kerja
 * @property string $CREATED
 * @property string $USERNAME
 */
class Frapl012b extends \yii\db\ActiveRecord
{


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

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['FRAPL01_UUID', 'FRAPL01_2B_UUID', 'FRAPL01_2B_KODE', 'FRAPL01_2B_JUDUL', 'FRAPL01_2B_SKK', 'CREATED', 'USERNAME'], 'required'],
            [['FRAPL01_UUID', 'FRAPL01_2B_UUID'], 'string'],
            [['CREATED'], 'safe'],
            [['FRAPL01_2B_KODE', 'FRAPL01_2B_JUDUL', 'FRAPL01_2B_SKK', 'USERNAME'], 'string', 'max' => 50],
            [['FRAPL01_2B_UUID'], 'unique'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'FRAPL01_UUID' => 'Frapl01 Uuid',
            'FRAPL01_2B_UUID' => 'Frapl01 2b Uuid',
            'FRAPL01_2B_KODE' => 'Kode Unit',
            'FRAPL01_2B_JUDUL' => 'Judul Unit',
            'FRAPL01_2B_SKK' => 'Standard Kompetensi Kerja',
            'CREATED' => 'Created',
            'USERNAME' => 'Username',
        ];
    }

}
