package com.honey.honey.model;

import jakarta.persistence.*;
import lombok.*;

import java.math.BigDecimal;
import java.time.Instant;

@Entity
@Table(name = "crypto_deposit_config")
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CryptoDepositConfig {

    @Id
    @Column(name = "id")
    private Integer id = 1;

    @Column(name = "methods_hash", length = 255)
    private String methodsHash;

    @Column(name = "minimum_deposit", nullable = false, precision = 10, scale = 2)
    private BigDecimal minimumDeposit;

    @Column(name = "updated_at", nullable = false)
    private Instant updatedAt;
}
