export enum CustomFieldType {
  Text = 0,
  Number = 1,
  Date = 2,
  Boolean = 3,
  Select = 4,
  MultiSelect = 5,
  TextArea = 6,
  Color = 7,
  Url = 8,
  Email = 9
}

export interface CustomFieldDefinition {
  id: number;
  entityName: string;
  fieldName: string;
  label: string;
  type: CustomFieldType;
  isRequired: boolean;
  defaultValue?: string;
  optionsJson?: string;
  sortOrder: number;
  description?: string;
  isActive: boolean;
  validationRegex?: string;
  placeholder?: string;
}

export interface CustomFieldValues {
  [key: string]: any;
}
