package com.chushang.system.entity.query;

import com.chushang.common.mybatis.annotation.Condition;
import com.chushang.common.mybatis.page.CommonParam;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SysLoginInfoQuery extends CommonParam {

    @Condition(name = "info_id", type = Condition.ConditionType.eq, tableName = "t")
    private Long infoId;

    @Condition(name = "username", type = Condition.ConditionType.like, tableName = "t")
    private String username;

    @Condition(name = "status", type = Condition.ConditionType.eq, tableName = "t")
    private Integer status;

    @Condition(name = "ipaddr", type = Condition.ConditionType.like, tableName = "t")
    private String ipaddr;
}
