You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
simple-yewu/common/models/InsurerTypeT.php

56 lines
1.1 KiB

<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "insurer_type_t".
*
* @property integer $id
* @property string $name
* @property string $code
* @property string $content
* @property integer $has_nopay
* @property string $created_at
* @property string $updated_at
*/
class InsurerTypeT extends \common\models\Base
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'insurer_type_t';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['has_nopay'], 'integer'],
[['created_at', 'updated_at'], 'safe'],
[['name', 'code'], 'string', 'max' => 50],
[['content'], 'string', 'max' => 200],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'name' => 'Name',
'code' => 'Code',
'content' => 'Content',
'has_nopay' => 'Has Nopay',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}