package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "查询组织分页")
@NoArgsConstructor
public class QueryOrganizationPageDTO extends QueryPageByTimeDTO{
    @Schema(description = "组织类型 Enterprise || Education")
    private String type;
    @Schema(description = "组织名字")
    private String name;

    public QueryOrganizationPageDTO(String type, String name) {
        this.type = type;
        this.name = name;
    }
}
