package com.crm.rely.backend.core.entity.system.interest;

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

import javax.validation.constraints.NotNull;

@Data
public class SysInterestLoginDayNumberAddEntity extends BaseAddEntity {

    @NotBlank(message = Constants.PLATFORM_NOT_NULL)
    @NotNull(message = Constants.PLATFORM_NOT_NULL)
    private String platform;

    @NotNull(message = Constants.LOGIN_NOT_NULL_ERROR)
    private Long login;

    private Integer dayNumber;

}
