import {defineStore} from "pinia";

export const useUsersStore = defineStore('Users', {
    state: () => ({
        infos: [
            {
                "id": 1,
                "name": "张伟",
                "type": "借阅者"
            },
            {
                "id": 2,
                "name": "李娜",
                "type": "图书管理员"
            },
            {
                "id": 3,
                "name": "王强",
                "type": "借阅者"
            },
            {
                "id": 4,
                "name": "赵敏",
                "type": "图书管理员"
            },
            {
                "id": 5,
                "name": "刘洋",
                "type": "借阅者"
            },
            {
                "id": 6,
                "name": "陈杰",
                "type": "借阅者"
            },
            {
                "id": 7,
                "name": "孙丽",
                "type": "图书管理员"
            },
            {
                "id": 8,
                "name": "周华",
                "type": "借阅者"
            },
            {
                "id": 9,
                "name": "吴敏",
                "type": "借阅者"
            },
            {
                "id": 10,
                "name": "郑爽",
                "type": "图书管理员"
            }
        ]
    }),
    actions: {}
})