-- 初始化班级数据
USE reading_platform;

DELETE FROM t_clazz WHERE name IN ('大班 1 班', '中班 1 班', '小班 1 班');

INSERT INTO t_clazz (
    id, tenant_id, name, grade, description, capacity, status,
    created_at, updated_at, deleted
) VALUES (
    'class001',
    'tenant001',
    '大班 1 班',
    '大班',
    '大班 1 班',
    30,
    'active',
    NOW(),
    NOW(),
    0
),
(
    'class002',
    'tenant001',
    '中班 1 班',
    '中班',
    '中班 1 班',
    30,
    'active',
    NOW(),
    NOW(),
    0
),
(
    'class003',
    'tenant001',
    '小班 1 班',
    '小班',
    '小班 1 班',
    30,
    'active',
    NOW(),
    NOW(),
    0
);

-- 验证
SELECT id, name, grade, status FROM t_clazz WHERE name IN ('大班 1 班', '中班 1 班', '小班 1 班');
