51 lines
853 B
PHP
51 lines
853 B
PHP
<?php
|
|
|
|
/**
|
|
* @author Any
|
|
* @description KISS
|
|
* @date 2020-11-5
|
|
* @version 1.0.0
|
|
*
|
|
* _____LOG_____
|
|
*
|
|
*/
|
|
namespace app\modules\admin\models\coupon;
|
|
|
|
use app\models\Coupon;
|
|
use app\models\Model;
|
|
use app\models\Store;
|
|
use app\models\StoreUser;
|
|
use app\models\User;
|
|
use app\modules\admin\models\AdminModel;
|
|
use yii\data\Pagination;
|
|
|
|
class UserCouponActionForm extends AdminModel
|
|
{
|
|
public $id;
|
|
public $user_ids;
|
|
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['id','user_ids'], 'required'],
|
|
[['user_ids',], 'safe'],
|
|
[['id',], 'integer'],
|
|
];
|
|
}
|
|
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'user_ids' => '发放用户',
|
|
'id' => '卡券',
|
|
];
|
|
}
|
|
|
|
public function send()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|