package com.zt.plat.module.base.controller.admin.businessrule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 业务规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessRuleRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32088")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("状态")
    private String statusValue;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("类型")
    private String typeValue;

    @Schema(description = "规则编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则编码")
    private String code;

    @Schema(description = "规则名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("规则名称")
    private String name;

    @Schema(description = "规则描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则描述")
    private String description;

    @Schema(description = "规则表达式")
    @ExcelProperty("规则表达式")
    private String expression;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}