package com.qnfhq.modules.c2c.dto;

import jakarta.validation.constraints.NotBlank;
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 C2cMerchantDTO implements Serializable {
    private static final long serialVersionUID = 1L;

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

	@SchemaProperty(name = "")
	private Long userId;

	@SchemaProperty(name = "")
	private String userName;

	@SchemaProperty(name = "法币")
    @NotBlank(message="{NotBlank.legalCoin}")//法币不能空
	private String legalCoin;


	@SchemaProperty(name = "类型1 微信 2 Telegram")
	private Integer socialType;

	@SchemaProperty(name = "社交账号")
	private String socialAccount;

	@SchemaProperty(name = "冻结保证金")
	private Integer margin;

	@SchemaProperty(name = "状态 0 审批中  1通过 -1不通过")
	private Integer status;

	@SchemaProperty(name = "")
	private Date createTime;

	@SchemaProperty(name = "")
	private Date updateTime;

	@SchemaProperty(name = "")
	private String remark;

	@SchemaProperty(name = "完成单数")
	private Integer finishNum;

	@SchemaProperty(name = "买入完成单数")
	private Integer buyFinishNum;

	@SchemaProperty(name = "卖出完成单数")
	private Integer sellFinishNum;

	@SchemaProperty(name = "完成率")
	private String finishRate;

	@SchemaProperty(name = "交易类型")
	private String tranType;

	@SchemaProperty(name = "30日成单数")
	private Integer day30Num;

	@SchemaProperty(name = "平均用时分钟")
	private Integer averageTime;

	@SchemaProperty(name = "平均用时分钟")
	private Integer averageCancelTime;

	@SchemaProperty(name = "创建时长天")
	private Integer createNum;

	@SchemaProperty(name = "首次交易")
	private Integer firstTranNum;

	@SchemaProperty(name = "首次交易时间")
	private Date firstTranTime;

	@SchemaProperty(name = "审核通过时间")
	private Date operateTime;


}
