Files
MrleeAdmin/backend/app/adminapi/schema/request/system/FeedbackQueryRequest.php
T
2026-08-31 11:33:59 +08:00

30 lines
1.2 KiB
PHP

<?php
declare(strict_types=1);
namespace app\adminapi\schema\request\system;
use app\schema\request\BaseQueryRequest;
use OpenApi\Attributes as OA;
use WebmanTech\DTO\Attributes\ValidationRules;
#[OA\Schema(title: '问题反馈查询', description: '问题反馈列表查询参数')]
class FeedbackQueryRequest extends BaseQueryRequest
{
#[OA\Property(property: 'LIKE_content', description: '问题描述关键词', type: 'string', nullable: true)]
#[ValidationRules(rules: 'nullable|string|max:2000')]
public ?string $LIKE_content = null;
#[OA\Property(property: 'LIKE_contact', description: '联系方式关键词', type: 'string', nullable: true)]
#[ValidationRules(rules: 'nullable|string|max:100')]
public ?string $LIKE_contact = null;
#[OA\Property(property: 'EQ_type', description: '反馈类型', type: 'string', enum: ['bug', 'suggestion', 'correction'], nullable: true)]
#[ValidationRules(rules: 'nullable|string|in:bug,suggestion,correction')]
public ?string $EQ_type = null;
#[OA\Property(property: 'EQ_source', description: '反馈来源', type: 'string', enum: ['app', 'web'], nullable: true)]
#[ValidationRules(rules: 'nullable|string|in:app,web')]
public ?string $EQ_source = null;
}