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

65 lines
2.1 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_user_ball_arm".
*
* @property int $id
* @property string $title 球杆名称
* @property int $uid 用户id
* @property int $store_id 门店id
* @property string $data 球杆数据json串
* @property int $status 状态1.未支付需要支付2.支付完订单等待检测员检测3.完成检测可用球杆4.完成检测,停用球杆
* @property int $created_at 创建时间
* @property int $updated_at 更新时间
* @property int $is_delete 是否删除1.删除0.没有删除
* @property int $deleted_at 删除时间
* @property int $jc_uid 检测员用户iduser表idorder_id
* @property int $order_id 订单id
*/
class UserBallArm extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'cx_user_ball_arm';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['title', 'uid', 'store_id', 'data', 'status', 'created_at', 'updated_at', 'is_delete', 'deleted_at', 'jc_uid'], 'required'],
[['uid', 'store_id', 'status', 'created_at', 'updated_at', 'is_delete', 'deleted_at', 'jc_uid', 'order_id'], 'integer'],
[['data'], 'string'],
[['title'], 'string', 'max' => 255],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'title' => '球杆名称',
'uid' => '用户id',
'store_id' => '门店id',
'data' => '球杆数据json串',
'status' => '状态1.未支付需要支付2.支付完订单等待检测员检测3.完成检测可用球杆4.完成检测,停用球杆',
'created_at' => '创建时间',
'updated_at' => '更新时间',
'is_delete' => '是否删除1.删除0.没有删除',
'deleted_at' => '删除时间',
];
}
}