package com.crm.rely.backend.core.entity.user.info;

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

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 关联账户登录
 */
@Data
public class UserAttachLoginEntity extends BaseLoginEntity {

    private Long userId;

    @NotNull(message = Constants.PARAMETER_ERROR)
    private Long attachId;

}
