package com.qnfhq.modules.c2c.dto;

import lombok.Data;

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

import java.math.BigDecimal;
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 C2cOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

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

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

	@SchemaProperty(name = "下单人的编号")
	private Long userId;

	@SchemaProperty(name = "下单名字")
	private String userName;

	@SchemaProperty(name = "1买入  2 卖出")
	private Integer direction;

	@SchemaProperty(name = "法定货币")
	private String legalCoin;

	@SchemaProperty(name = "交易币USDT,BTC")
	private String symbol;

	@SchemaProperty(name = "广告编号")
	private Long c2cAdId;

	@SchemaProperty(name = "交易对手编号")
	private Long tranUserId;

	@SchemaProperty(name = "交易对手名字")
	private String tranUserName;

	@SchemaProperty(name = "单价")
	private BigDecimal tranPrice;

	@SchemaProperty(name = "数量USDT")
	private BigDecimal symbolNum;

	@SchemaProperty(name = "法币的交易金额")
	private BigDecimal tranAmount;

	@SchemaProperty(name = "1微信  2支付宝 3银行借记卡")
	private Integer payType;

	@SchemaProperty(name = "0 进行中 1 已结束 ")
	private Integer flow;

	@SchemaProperty(name = "0 未付款 1 已付款（确认付款后）2 申诉 3 已完成 4 已取消 ")
	private Integer status;

	@SchemaProperty(name = "广告要求")
	private String remark;

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

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



}
