package com.erp.approval.dto;

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

import java.time.LocalDateTime;
import java.util.List;

/**
 * 审核规则响应DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuditRuleResponse {
    
    private Long id;
    private Long tenantId;
    private String name;
    private String type;
    private String typeLabel;
    private List<ConditionDTO> conditions;
    private List<ActionDTO> actions;
    private Integer priority;
    private Boolean isActive;
    private String description;
    private Long createdBy;
    private Long updatedBy;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
