module.exports = {
    // 班级
    mode: 'simple',
    modelCn: '',
    fields: {
        classname: {
            type: 'string',
            comment: '班级名称',
            meta: {
                formType: 'input',
            },
        },
        remark: {
            type: 'text',
            comment: '班级备注',
            meta: {
                formType: 'textarea',
            },
        },
    },
    foreign: {},
    extendActions: {},
    primaryKey: 'id',
    middlewares: ['loginRequired'], // 该模型需要登录，权限认证
}