package com.crm.rely.backend.core.entity.custom.activity.deposit;

import com.crm.rely.backend.core.constant.CustomActivityDepositRaffleSourceEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.constraints.Min;

@NoArgsConstructor
@Data
public class CustomActivityDepositRaffleAddNumberEntity {
    private Long customId;

    @Min(value = 1)
    @NonNull
    private Integer number;

    private String content;

    private CustomActivityDepositRaffleSourceEnum sourceEnum;
}
