package com.saas.admin.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Response DTO for Permission
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PermissionResponse {
    private Long id;
    private String resource;
    private String action;
    private String permissionString; // Format: "resource:action"
    private String description;
    private Boolean isActive;
    private Boolean isSystem;
    private LocalDateTime createdAt;
}
