package com.zioinfo.hrm.employee;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Employee {
    private Long id;
    private String empNo;          // 사원번호 (자동발번)
    private String name;
    private String nameEn;
    private Long departmentId;
    private String departmentName;
    private Long positionId;
    private String positionName;
    private Long gradeId;
    private String gradeName;
    private String employmentType;  // REGULAR/CONTRACT/PARTTIME
    private String status;          // ACTIVE/LEAVE/RETIRED
    private LocalDate hireDate;
    private LocalDate retireDate;
    private String email;
    private String phoneEnc;       // 개인정보 암호화
    private String photoUrl;
    private String gender;
    private LocalDate birthDate;
    private String address;
    private String bankAccount;    // 급여 계좌 (암호화 저장)
    private String createdBy;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
