package com.tashow.cloud.productapi.api.product.vo.skuservicematerial;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 服务物料详情新增/修改 Request VO")
@Data
public class SkuServiceMaterialSaveReqVO {

    @Schema(description = "服务物料的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "21371")
    private Long id;

    @Schema(description = "关联的扩展服务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21102")
    @NotNull(message = "关联的扩展服务ID不能为空")
    private Long serviceId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "描述")
    private String describeContent;

}