package com.crm.rely.backend.core.entity.finance.withdraw;

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

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class FinanceWithdrawApproveManagerEntity extends BaseUpdateEntity {

    @NotNull(message = Constants.INVALID_REQUEST)
    @Min(value = 0, message = Constants.INVALID_REQUEST)
    private Integer withdrawStatus;

    private String withdrawTicket;

    private Integer callbackStatus;

    @Size(max = 200,message = "content_oversize")
    private String approveDesc;
}
