package com.lesingle.edu.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 标签响应
 * 用于返回标签信息给前端
 */
@Data
@Builder
@Schema(description = "标签响应")
public class TagResponse {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "租户 ID")
    private Long tenantId;

    @Schema(description = "标签名称")
    private String name;

    @Schema(description = "标签类型")
    private String type;

    @Schema(description = "标签颜色")
    private String color;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
