package com.crm.rely.backend.core.entity.ib.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;

/**
 * Created by max on 2020/3/30.
 */
@Data
public class IbLoginEntity extends BaseLoginEntity{

    @NotNull(message = Constants.USERNAME_NOT_NULL_ERROR)
    @NotBlank(message = Constants.USERNAME_NOT_NULL_ERROR)
    private String loginName;

    private String password;

    private String ip;

    private String address;

    private Date time;

}
