cxfoot/models/OrderUnionMeta.php
2023-10-27 14:25:12 +08:00

64 lines
1.7 KiB
PHP

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%order_union_meta}}".
*
* @property int $id
* @property int $user_id 用户id
* @property int $payment_order_union_id 合并支付订单号
* @property string|null $ps_mer_order_no 多次分账、分账完结流水号
* @property string|null $type 接口
* @property string|null $desc 接口结果
* @property int|null $is_delete 是否失效
* @property int|null $created_at 创建日期
* @property int|null $deleted_at 失效日期
*/
class OrderUnionMeta extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return '{{%order_union_meta}}';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['user_id', 'payment_order_union_id'], 'required'],
[['user_id', 'payment_order_union_id', 'is_delete', 'created_at', 'deleted_at'], 'integer'],
[['desc'], 'string'],
[['ps_mer_order_no'], 'string', 'max' => 255],
[['type'], 'string', 'max' => 50],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'user_id' => '用户id',
'payment_order_union_id' => '合并支付订单号',
'ps_mer_order_no' => '多次分账、分账完结流水号',
'type' => '接口',
'desc' => '接口结果',
'is_delete' => '是否失效',
'created_at' => '创建日期',
'deleted_at' => '失效日期',
];
}
}