<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "his_result".
 *
 * @property int $ID
 * @property string $LabNo
 * @property string $RequestRemark
 * @property string $ResultStatus
 * @property int $Status
 * @property string $Message
 */
class HisResult extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'his_result';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['LabNo', 'RequestRemark', 'ResultStatus', 'Status', 'Message'], 'required'],
            [['Status'], 'integer'],
            [['LabNo'], 'string', 'max' => 10],
            [['RequestRemark'], 'string', 'max' => 4000],
            [['ResultStatus'], 'string', 'max' => 2],
            [['Message'], 'string', 'max' => 250],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'ID' => 'ID',
            'LabNo' => 'Lab No',
            'RequestRemark' => 'Request Remark',
            'ResultStatus' => 'Result Status',
            'Status' => 'Status',
            'Message' => 'Message',
        ];
    }
}
