<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "VirtualLabMappingLog".
 *
 * @property string|null $labno
 * @property string|null $RiaHDocID
 * @property string|null $patname
 * @property string|null $pathn
 * @property string|null $patward
 * @property string|null $status
 * @property string|null $pattitle
 * @property string|null $custid
 * @property string|null $RiaHDocDate
 * @property string|null $patage
 * @property string|null $filename
 * @property string|null $patsex
 * @property string|null $RiaHDocID_PRE
 * @property string|null $RiaHDocDate_PRE
 * @property string|null $birthday
 * @property string|null $DOB
 * @property string|null $reqdate
 */
class VirtualLabMappingLog extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'VirtualLabMappingLog';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['RiaHDocDate', 'RiaHDocDate_PRE', 'birthday'], 'safe'],
            [['labno', 'RiaHDocID', 'pathn', 'pattitle', 'RiaHDocID_PRE'], 'string', 'max' => 50],
            [['patname', 'patward'], 'string', 'max' => 300],
            [['status'], 'string', 'max' => 10],
            [['custid', 'patsex'], 'string', 'max' => 30],
            [['patage'], 'string', 'max' => 5],
            [['filename'], 'string', 'max' => 400],
            [['DOB', 'reqdate'], 'string', 'max' => 100],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'labno' => 'Labno',
            'RiaHDocID' => 'Ria H Doc ID',
            'patname' => 'Patname',
            'pathn' => 'Pathn',
            'patward' => 'Patward',
            'status' => 'Status',
            'pattitle' => 'Pattitle',
            'custid' => 'Custid',
            'RiaHDocDate' => 'Ria H Doc Date',
            'patage' => 'Patage',
            'filename' => 'Filename',
            'patsex' => 'Patsex',
            'RiaHDocID_PRE' => 'Ria H Doc Id Pre',
            'RiaHDocDate_PRE' => 'Ria H Doc Date Pre',
            'birthday' => 'Birthday',
            'DOB' => 'Dob',
            'reqdate' => 'Reqdate',
        ];
    }
}
