<?php

namespace modules\custom\models;


use Yii;
use yii\behaviors\BlameableBehavior;
use yii\behaviors\TimestampBehavior;

/**
 * This is the model class For table "datestsrows".
 *
 * @property string $id
 * @property string $created_by
 * @property string $updated_by
 * @property string $deleted_by
 * @property string $actid
 * @property string $relatedid
 * @property integer $created_at
 * @property integer $updated_at
 * @property integer $deleted_at
 * @property integer $jobno
 * @property integer $sequence
 * @property string $status
 * @property string $padno
 * @property string $test
 * @property string $result
 * @property string $level
 * @property string $comments
 */
class Datestrowsbe extends \common\models\Base {

    public $dates = ['created_at', 'updated_at', 'deleted_at'];
	public $uniqueidentifiers = ['actid'];
    public $securefields = [];
   
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'datestsrows';
    }

    /**
     * @inheritdoc
     */
    public function rules(): array
    {
        return [
            [['id', 'created_by', 'updated_by', 'deleted_by', 'actid', 'relatedid', 'status', 'padno', 'test', 'result', 'level', 'comments'], 'string'],
            [['created_at', 'updated_at', 'deleted_at', 'jobno', 'sequence'], 'integer'],
            [['id'], 'unique'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels(): array
    {
        return [
            'id' => 'ID',
            'created_by' => 'Created By',
            'updated_by' => 'Updated By',
            'deleted_by' => 'Deleted By',
            'actid' => 'Actid',
            'relatedid' => 'Relatedid',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
            'deleted_at' => 'Deleted At',
            'jobno' => 'Jobno',
            'sequence' => 'Sequence',
            'status' => 'Status',
            'padno' => 'Padno',
            'test' => 'Test',
            'result' => 'Result',
            'level' => 'Level',
            'comments' => 'Comments',
        ];
    }
    

}
