package com.cf.imes.module.system.controller.admin.funds.products.vo.product;

import com.cf.imes.module.system.validation.products.ProductStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 产品表 product新增/修改 Request VO")
@Data
public class ProductSaveReqVO {

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10725")
    private Long id;

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

    @Schema(description = "产品状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @ProductStatus
    private Integer status;

    @Schema(description = "软件id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long softwareId;


}
