package com.qnfhq.modules.c2c.dto;

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

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * c2c商家广告列表
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
@Data
@Schema(name = "c2c商家广告列表")
public class C2cAdListDTO implements Serializable {
    private static final long serialVersionUID = 1L;


	@SchemaProperty(name = "商家编号")
    @NotNull(message="{NotNull.merchantId}")//商家编号不能为空
	private Integer merchantId;

	@SchemaProperty(name = "1买入  2 卖出")
    @NotNull(message="{NotNull.direction}")//方向不能为空
	private Integer direction;

	@SchemaProperty(name = "1可用 -1不可用")
//    @NotNull(message="{NotNull.status}")//状态不能空
	private Integer status;

	@SchemaProperty(name = "页码")
	private Integer pageNum;

    @SchemaProperty(name = "每页大小")
    private Integer pageSize;
}
