package com.jxy.marketall.dto;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Field;

import java.math.BigDecimal;

/**
 * @Description TODO
 * @Date 2022/8/1 12:39
 * @02.
 * Author 杜懿
 */
@Data
public class BorderDto {

    private int price;

    private BigDecimal num;

    public BorderDto(int price, BigDecimal num) {
        this.price = price;
        this.num = num;
    }

    public BorderDto() {
        this.price = 0;
        this.num = BigDecimal.ZERO;
    }
}
