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/CaiwuErrorT.php

67 lines
1.6 KiB

<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "caiwu_error_t".
*
* @property integer $id
* @property string $car_no
* @property string $insurer_no
* @property string $policy_man
* @property string $total_real
* @property string $total_rate
* @property string $pay_total
* @property string $finish_total
* @property string $pay_date
* @property string $company
* @property string $created_at
* @property string $updated_at
*/
class CaiwuErrorT extends \common\models\Base
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'caiwu_error_t';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['car_no'], 'required'],
[['total_real', 'total_rate', 'pay_total', 'finish_total'], 'number'],
[['pay_date', 'created_at', 'updated_at'], 'safe'],
[['car_no'], 'string', 'max' => 50],
[['insurer_no', 'policy_man', 'company'], 'string', 'max' => 100],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'car_no' => 'Car No',
'insurer_no' => 'Insurer No',
'policy_man' => 'Policy Man',
'total_real' => 'Total Real',
'total_rate' => 'Total Rate',
'pay_total' => 'Pay Total',
'finish_total' => 'Finish Total',
'pay_date' => 'Pay Date',
'company' => 'Company',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}