package com.tashow.cloud.product.vo.prod;

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

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

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

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

    @Schema(description = "商品简称")
    private String abbreviation;

    @Schema(description = "seo标题", example = "李四")
    private String seoName;

    @Schema(description = "seo搜索")
    private String seoSearch;

    @Schema(description = "关键词")
    private String keyword;

    @Schema(description = "店铺id", example = "10843")
    private Long shopId;

    @Schema(description = "简要描述,卖点等")
    private String brief;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "详细描述")
    private String content;

    @Schema(description = "商品编号")
    private String prodNumber;

    @Schema(description = "商品主图")
    private String pic;

    @Schema(description = "商品轮播图片，以,分割")
    private String imgs;

    @Schema(description = "默认是1，表示正常状态, -1表示删除, 0下架", example = "2")
    private Integer status;

    @Schema(description = "商品分类", example = "14895")
    private Long categoryId;

    @Schema(description = "销量")
    private Integer soldNum;

    @Schema(description = "分享图")
    private String shareImage;

    @Schema(description = "分享话术")
    private String shareContent;

    @Schema(description = "是否开启区域0关1开")
    private Boolean regionSwitch;

    @Schema(description = "是否特殊时段0关1开")
    private Boolean additionalSwitch;

    @Schema(description = "是否特殊日期（节假日周末什么的）0关1开")
    private Boolean additionalFeeSwitch;

    @Schema(description = "是否紧急响应服务0关1开")
    private Boolean emergencySwitch;

    @Schema(description = "是否预约0关1开")
    private Boolean reservationSwitch;

    @Schema(description = "是否接单上线0关1开")
    private Boolean orderLimitSwitch;

    @Schema(description = "是否开启体重配置0关1开")
    private Boolean weightSwitch;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "修改人")
    private String updateBy;

    @Schema(description = "版本 乐观锁")
    private Integer version;

    @Schema(description = "展示的权重")
    private Integer top;

}