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 C2cPaymentVoucherDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "自增编号")
	private Long id;

	@SchemaProperty(name = "自增订单编号")
    @NotNull(message="{NotNull.orderId}")//自增订单编号不能为空
	private Long orderId;

	@SchemaProperty(name = "订单编号")
	private String orderNo;

	@SchemaProperty(name = "图片连接")
    @NotBlank(message="{NotBlank.img}")//支付凭证不能为空
	private String img;


    /**
     * 上传人的编号
     */
    private Long userId;
    /**
     * 状态 1有效 -1无效
     */
    private Integer status;
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private Date updateTime;

}
