package com.zhongshu.card.client.model.school;

import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.school.CardState;
import com.zhongshu.card.client.type.school.CardType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.internal.build.AllowPrintStacktrace;

/**
 * @author TRX
 * @date 2024/7/30
 */
@Data
@AllowPrintStacktrace
@NoArgsConstructor
public class CardInfoSearch extends SuperSearch {

    @Schema(description = "卡片名称")
    private String name;

    @Schema(description = "卡片类型")
    private CardType cardType;

    @Schema(description = "卡片号码,唯一标识, 卡号")
    private String code;

    @Schema(description = "卡片状态")
    private CardState cardState;

    @Schema(description = "是否作废")
    private Boolean isCanceled;

    @Schema(description = "所属用户UserId")
    private String userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "所属关键字")
    private String keyWord;
}
