package com.crm.pay.entity;

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FinanceDepositCallbackUpdateEntity extends BaseUpdateEntity {
    @NotNull
    @NotBlank
    private String serial;

    @NotNull
    private Integer callbackStatus;

    private String channelSerial;

    private BigDecimal amount;

    private BigDecimal transformAmount;

    private Date callbackTime;

    private BigDecimal rate;

    private String callbackData;

    private String ticket;

    private String approveDesc;

    private Integer status;
}
