Giter Club home page Giter Club logo

organizationassignment's Introduction

organizationAssignment

과제 설명

  1. 아래와 같은 주소록 파일(CSV 형식)을 읽어 DB(MariaDB)에 저장
  • 직책은 팀장만 있음, 그 외 팀원
  • 동명이인인 경우 이름 + (B, C, D)로 표기
  • 순번, 이름, 내선번호, 휴대폰, 팀명, 직위, 직책 e.g. 1, 홍길동, 1000, 010-1234-5678, 웹개발1팀, 차장, 팀장 2, 이순신, 2002, 010-2222-5678, 웹개발2팀, 과장, 3, 유관순, 1001, 010-1111-5678, 웹개발1팀, 대리, 4, 유관순, 1001, 010-1111-5678, 웹개발2팀, 사원,
  1. 주소록 동기화하는 API 구현
  2. 팀별 조직도를 트리로 표현하는 API 구현
  • 팀장은 상위, 팀(명)/팀원은 이름순 정렬
  • 팀명, 이름, 내선번호, 전화번호로 검색 (검색어 하나로 검색)

요구사항 추가

  1. 파일
  • 클래스패스가 아닌 곳에서 읽기
  • 대용량 파일 처리
  1. 파일 형식 변경 - 순번, 사번, 이름, (입사일), ...
  2. 성/이름 구분
  • 다국어(영어권) : 이름 + 성 표시 방법
  1. 내선번호 중복 시
  • 에러 처리 : 별도 테이블에 저장
  • 동기화 API에 에러난 데이터 응답 추가 : 사번, 이름

개발 환경

  • 자바 8
  • IntelliJ
  • Spirng boot (maven)
  • JPA, MariaDB

기능 설계

데이터베이스

회원

  • 모든 회원은 이름과 내선번호, 전화번호, 사원번호가 필수이다.
  • 이름은 중복될 수 있으며, 중복 될 경우 이름 + 영어 대문자를 붙여야한다.

회원 이름 중복에 대해서

  • 같은 이름이 영어 대문자보다 많을 경우 어떻게 해야할 것인가? (예를 들어 A~Z)까지 다 썼을 경우
  • 같은 이름을 가진 회원이 나가게 된다면 처리는 어떻게 할 것인가? (홍길동B가 빠져나가고) 새롭게 홍길동 이름의 사원이 들어 올 경우 홍길동B의 이름을 다시 부여해도 괜찮은가?

  • 팀은 이름으로 구별할 수 있어야 한다. (하지만 고유 번호를 갖도록 만든다.)

CSV 파일 읽기

  • CSV 파일을 읽어 와 데이터베이스에 저장할 수 있어야 한다.

organizationassignment's People

Contributors

sb0321 avatar

Watchers

 avatar

organizationassignment's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.