package com.qnfhq.modules.c2c.dto;

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

import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;

/**
 * c2c用户收款信息
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
@Data
@Schema(name = "c2c用户收款信息")
public class C2cUserReceiptDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @SchemaProperty(name = "主键")
    private Long id;

	@SchemaProperty(name = "支付方式")
    @NotNull(message="{NotNull.payType}")//支付方式不能为空
	private Integer type;

	@SchemaProperty(name = "收款信息")
    @NotBlank(message="{NotBlank.receiptInfo}")//收款信息不能空
	private String info;



}
