package com.smyhub.store.mengyastorebackendjava.dto.request;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AdminProductRequest {

    @NotBlank(message = "商品名称不能为空")
    private String name;

    private double price;

    private double discountPrice;

    private List<String> tags = new ArrayList<>();

    private String coverUrl;

    private List<String> screenshotUrls = new ArrayList<>();

    private String verificationUrl;

    private String description;

    private boolean active = true;

    private boolean requireLogin;

    private int maxPerAccount;

    private String deliveryMode = "auto";

    private String fulfillmentType = "card";

    private String fixedContent;

    private boolean showNote = true;

    private boolean showContact = true;

    private List<String> codes = new ArrayList<>();
}
