import { h } from 'vue';

export const columns = [
  {
    type: 'selection',
    width: 50,
    fixed: 'left',
  },
  {
    title: 'ID',
    key: 'id',
    fixed: 'left',
    width: 50,
  },
  {
    title: '角色名称',
    key: 'name',
    width: 150,
  },
  {
    title: '角色编码',
    key: 'code',
    width: 250,
  },
  {
    title: '排序',
    key: 'sort',
    width: 100,
  },
  {
    title: '备注',
    key: 'note',
    width: 200,
  },
  {
    title: '创建人',
    key: 'createUser',
    width: 100,
  },
  {
    title: '创建时间',
    key: 'createTime',
    width: 180,
  },
];
