package com.friday.operation.api.keepalive.dto.taieoc;

import com.friday.base.database.dto.ListFilterBaseDto;
import lombok.*;


@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BadgeFilterDto extends ListFilterBaseDto {

    /**
     * 租户id
     */
    private Long ocTenantId;

    private String ocInfo;

    /**
     * 工牌类型
     */
    private String badgeType;

    /**
     * 工牌总数
     */
    private int badgeNum;

    /**
     * 工牌密钥
     */
    private String badgeSecretKey;

    /**
     * 工牌版本
     */
    private String badgeVersion;

    /**
     * 工牌说明
     */
    private String badgeDesc;

    /**
     * 操作人
     */
    private String operator;

    private String userTenant;

    @Builder(builderMethodName = "badgeFilterbuilder")
    public BadgeFilterDto(Long ocTenantId,String ocInfo, String badgeType, int badgeNum,String badgeSecretKey,String badgeVersion,String badgeDesc,String userTenant,
                          String operator,int page, int pageSize){
        super(page,pageSize);
        this.ocTenantId = ocTenantId;
        this.ocInfo = ocInfo;
        this.badgeType = badgeType;
        this.badgeNum = badgeNum;
        this.badgeSecretKey = badgeSecretKey;
        this.badgeVersion = badgeVersion;
        this.badgeDesc = badgeDesc;
        this.operator = operator;
        this.userTenant = userTenant;

    }

}
