初始化仓库
This commit is contained in:
53
common/modelsgii/ProcessRuleNote.php
Normal file
53
common/modelsgii/ProcessRuleNote.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* @author: liudiao1992
|
||||
* @Date: 2023-09-18 15:23:55
|
||||
* @Description: 重要加工规则备注表
|
||||
*/
|
||||
|
||||
namespace common\modelsgii;
|
||||
|
||||
use Yii;
|
||||
|
||||
/**
|
||||
* 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' => '创建时间',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user