import { FormType } from "@/components/form/interface";
import { UserDataType } from "@/model/userModel";
import { ColumnsType } from "antd/lib/table";
export const columns: ColumnsType<UserDataType> = [
  {
    title: "团队名称",
    dataIndex: "name",
  },
  {
    title: "团队描述",
    dataIndex: "desc",
  },
];

export const defaultConfig = [
  {
    type: FormType.input,
    label: "团队名称",
    name: "name",
    value: "",
    rules: [{ required: true, message: "请输入仓库名称!" }],
  },
  {
    type: FormType.input,
    label: "团队描述",
    name: "desc",
    value: "",
    rules: [{ required: true, message: "请输入仓库位置信息!" }],
  },
];
