export interface ApiProject {
  id: number | null;
  prjCd: string;
  prjNm: string;
  prjDesc: string;
  prjStartDt: string;
  prjEndDt: string;
  delYn: string;
  regDate: string;
  regUserId: string;
  regUserNm: string;
  modDate: string;
  modUserId: string;
  modUserNm: string;
}

export interface UiProject {
  id: number;
  title: string;
  creator: string;
  date: string;
  description: string;
}

export type Permission = "CREATE" | "READ" | "UPDATE" | "DELETE";

export interface ProjectAuthority {
  projectId: number;
  userId: number | string;
  permissions: Permission[];
}

export interface ProjectSearch {
  page: number;
  size: number;
  keyword: string;
  searchType: string;
  startDate: string;
  endDate: string;
  sortField: string;
  sortDirection: string;
  projectId: number;
}
