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

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

@Schema(description = "管理后台 - 商品SKU扩展服务表单新增/修改 Request VO")
@Data
public class SkuServicesFormSaveReqVO {

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

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


    @Schema(description = "服务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "服务名称不能为空")
    private String serviceName;

    @Schema(description = "是否启用该服务", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用该服务不能为空")
    private Boolean isEnabled;

}