package com.seer.teach.teacher.module.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;

/**
 * @Author: Captain
 * @Description:
 * @Time: 2024/1/31 16:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "Id实体类")
public class IdEntity {

    @Schema(description = "id")
    @NotNull(message = "id不能为空")
    private Integer id;

}
