package org.cmh.backend.authentication.model;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@Entity
public class UserHS {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private String gender;
    private String phoneNumber;
    private String email;
    private String department;
    private String role;
    private LocalDateTime createdAt;
    private Boolean superAdmin = false;
    private String tenant;
}
