Files
xk-api-yii/common/modelsgii/ProductOrderLog.php
2024-09-19 11:32:39 +08:00

52 lines
995 B
PHP

<?php
namespace common\modelsgii;
use Yii;
/**
* This is the model class for table "yii_product_order_log".
*
* @property int $id
* @property int $p_id 关联产品订单
* @property string $content
* @property int $created_at
* @property int $updated_at
*/
class ProductOrderLog extends \common\core\BaseActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'yii_product_order_log';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['p_id'], 'required'],
[['p_id', 'created_at', 'updated_at'], 'integer'],
[['content'], 'string'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'p_id' => 'P ID',
'content' => 'Content',
'created_at' => 'Created At',
'updated_at' => 'Updated At',
];
}
}