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

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;

@Data
public class FinanceCustomTransferApproveManagerEntity extends BaseUpdateEntity {

    @NotNull(message = Constants.INVALID_REQUEST)
    @NotBlank(message = Constants.INVALID_REQUEST)
    private String ticket;

    @NotNull(message = Constants.INVALID_REQUEST)
    @Min(value = 1, message = Constants.INVALID_REQUEST)
    private Integer tradeStatus;


}
