export const frontendConfig = {
  appName: "DAB Enterprise HRMS Portal",
  menuItems: ["Dashboard", "Department", "Position", "Employee", "Reports"],
  structures: {
    Dashboard: {
      title: "HR Operations Center",
      pk: "DashboardID",
      fields: []
    },
    Department: {
      title: "Company Departments",
      pk: "departID",
      fields: [
        { key: "departID", label: "Department ID", type: "text" },
        { key: "DepartName", label: "Department Name", type: "text" }
      ]
    },
    Position: {
      title: "Job Positions & Roles",
      pk: "posID", 
      fields: [
        { key: "posID", label: "Position ID", type: "text" },
        { key: "PosName", label: "Position Title", type: "text" },
        { key: "RequiredQualification", label: "Required Qualifications", type: "text" }
      ]
    },
    Employee: {
      title: "Employee Profiles & Roster",
      pk: "empID", 
      fields: [
        { key: "empID", label: "Employee code", type: "text" },
        { key: "EmpFirstName", label: "First Name", type: "text" },
        { key: "EmpLastName", label: "Last Name", type: "text" },
        { 
          key: "EmpGender", 
          label: "Gender", 
          type: "select", 
          options: ["Male", "Female"] 
        },
        { key: "EmpDateOfBirth", label: "Date of Birth", type: "date" },
        { key: "EmpEmail", label: "Email Address", type: "email" },
        { key: "EmpTelephone", label: "Telephone Number", type: "number" },
        { key: "EmpAddress", label: "Physical Address", type: "text" },
        { key: "EmpHireDate", label: "Date of Hire", type: "date" },
        { 
          key: "EmpStatus", 
          label: "Employment Status", 
          type: "select", 
          options: ["Active", "On Leave", "Resigned"] 
        },
        { key: "departID", label: "Assigned Department", type: "select", relation: "Department", valueField: "departID", displayField: "DepartName" },
        { key: "posID", label: "Assigned Position", type: "select", relation: "Position", valueField: "posID", displayField: "PosName" }
      ]
    },
    Reports: {
      title: "Employee Status & Leave Reporting Center",
      pk: "ReportID",
      fields: []
    }
  }
};