package cn.iocoder.yudao.module.visit.controller.admin.product.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

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

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "品种名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "阿莫西林胶囊")
    @NotEmpty(message = "品种名称不能为空")
    private String productName;

    @Schema(description = "包装信息", requiredMode = Schema.RequiredMode.REQUIRED, example = "盒装")
    @NotEmpty(message = "包装信息不能为空")
    private String packageName;

    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED, example = "10x20mg")
    @NotEmpty(message = "规格不能为空")
    private String specification;

    @Schema(description = "状态（1：正常，0：禁用）", example = "1")
    private Integer status;

}