cxgj/models/YopointNotify.php
2023-11-27 09:45:13 +08:00

63 lines
1.5 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "cx_yopoint_notify".
*
* @property int $id
* @property string|null $appid appid
* @property string|null $method 模块
* @property string|null $biz_content 参数
* @property int|null $timestamp 时间戳
* @property string|null $sign_type 加密类型
* @property string|null $sign 加密
* @property int|null $created_at 创建时间
* @property string $return_data 创建时间
* @property int $type 类型1.我方请求2.对方请求
* @property int $user_id 用户id
*/
class YopointNotify extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'cx_yopoint_notify';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['biz_content'], 'string'],
[['timestamp', 'created_at','type','user_id'], 'integer'],
[['appid', 'sign'], 'string', 'max' => 32],
[['method','return_data'], 'string'],
[['sign_type'], 'string', 'max' => 10],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'appid' => 'Appid',
'method' => 'Method',
'biz_content' => 'Biz Content',
'timestamp' => 'Timestamp',
'sign_type' => 'Sign Type',
'sign' => 'Sign',
'created_at' => 'Created At',
];
}
}