package com.zioinfo.cms.auth;

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

/**
 * CMS 관리자/운영자 계정 (cms_user 테이블).
 *
 * <p>role: SUPERADMIN / EDITOR / AUTHOR / VIEWER.
 * 회원(member)과는 별개 — 회원은 cms_member, 본 엔티티는 콘텐츠 운영자.
 */
@Data
public class CmsUser {
    private Long id;
    private String username;
    private String passwordHash;
    private String displayName;
    private String role;
    private boolean active;
    private LocalDateTime createdAt;
}
