package com.hepl.tunefortwo.dto;

import com.hepl.tunefortwo.entity.Artist;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.AccessMode;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ArtistDto {
	@NotBlank(message = "{validation.user.ARTIST_NOT_FOUND}")
    @Schema(description = "Name of the Artist", example = "Male",requiredMode = Schema.RequiredMode.REQUIRED,accessMode = AccessMode.READ_WRITE)
    private Artist artist;
    @Schema(description = "Price of the language", example = "499.99",requiredMode = Schema.RequiredMode.REQUIRED,accessMode = AccessMode.READ_WRITE)
    private double price;

}
