招标
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
655 B

<?php
/**
*
* Notice.php
* User: ChenLong
* DateTime: 2020-12-21 16:00:36
*/
namespace app\common\validate;
use app\common\BaseValidate;
/**
* Class Notice
* @package app\common\validate\Notice
* @author chenlong <vip_chenlong@163.com>
*/
class Notice extends BaseValidate
{
protected $rule = [
'id|' => 'require|number',
'member_id|会员ID' => 'require|number',
'bidding_id|标书ID' => 'require|number',
'content|信息内容' => 'require',
];
protected $scene = [
'add' => ['member_id', 'bidding_id', 'content'],
'edit' => ['id', 'member_id', 'bidding_id', 'content'],
];
}