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

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.entity.base.BaseUpdateEntitys;
import lombok.Data;

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

@Data
public class FinanceWithdrawApproveChannelSubmitsEntity extends BaseUpdateEntitys {

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

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

}
