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

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ProductResponse {

    private String id;
    private String name;
    private double price;
    private double discountPrice;
    private List<String> tags;
    private int quantity;
    private String coverUrl;
    private List<String> screenshotUrls;
    private String verificationUrl;
    private List<String> codes;
    private int viewCount;
    private String description;
    private boolean active;
    private boolean requireLogin;
    private int maxPerAccount;
    private int totalSold;
    private String deliveryMode;
    private String fulfillmentType;
    private String fixedContent;
    private boolean showNote;
    private boolean showContact;
    private LocalDateTime createdAt;
}
