52 lines
999 B
PHP
52 lines
999 B
PHP
<?php
|
|
/*
|
|
* @author: liudiao1992
|
|
* @Date: 2023-09-18 15:23:55
|
|
* @Description: 重要加工规则备注表
|
|
*/
|
|
|
|
namespace common\modelsgii\oldDb;
|
|
|
|
/**
|
|
* This is the model class for table "yii2_process_rule_note".
|
|
*
|
|
* @property int $id
|
|
* @property int $rule_id
|
|
* @property string|null $note
|
|
* @property int|null $created_at 创建时间
|
|
*/
|
|
class ProcessRuleNote extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return '{{%process_rule_note}}';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['created_at','rule_id'], 'integer'],
|
|
[['note'], 'string', 'max' => 255],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'rule_id' => 'rule id',
|
|
'note' => '备注',
|
|
'created_at' => '创建时间',
|
|
];
|
|
}
|
|
}
|