package org.jeecg.modules.api.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CabinetModel {
    //人员信息接口字段
    private String userId;
    private String userName;
    private String nickName;
    private List<String> roles;
    private String faceUrl;
    private String faceImgStr;
    private List<CabinetModel> users;
    private String departId;
    private String departName;
    private String orgCode;
    // 工单信息字段
    private String orderId;
    private String orderCode;
    private String startTime;
    private String endTime;
    private String toolType;
    private Integer number;
    private List<Tool> tools;
    private List<String> toolIds;
    private List<Material> materials;

    @Data
    public static class Tool {
        private String toolType;
        private Integer number;
    }

    @Data
    public static class Material {
//        private String materialType;
        private String materialId;
        private Double number;
    }

}
