package com.gxwebsoft.bszx.param;

import java.math.BigDecimal;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 百色中学-报名记录查询参数
 *
 * @author 科技小王子
 * @since 2025-03-06 22:50:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "BszxBmParam对象", description = "百色中学-报名记录查询参数")
public class BszxBmParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "类型 0校友 1单位")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "性别 1男 2女")
    @QueryField(type = QueryType.EQ)
    private Integer sex;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "班级")
    private String className;

    @Schema(description = "年级")
    private String gradeName;

    @Schema(description = "分部ID")
    @QueryField(type = QueryType.EQ)
    private Integer branchId;

    @Schema(description = "居住地址")
    private String address;

    @Schema(description = "工作单位")
    private String workUnit;

    @Schema(description = "职务")
    private String position;

    @Schema(description = "是否能到场")
    @QueryField(type = QueryType.EQ)
    private Boolean present;

    @Schema(description = "年龄")
    @QueryField(type = QueryType.EQ)
    private Integer age;

    @Schema(description = "人数")
    @QueryField(type = QueryType.EQ)
    private Integer number;

    @Schema(description = "额外信息")
    private String extra;

    @Schema(description = "生成的邀请函存放路径")
    private String certificate;

    @Schema(description = "预定日期")
    private String dateTime;

    @Schema(description = "表单数据")
    private String formData;

    @Schema(description = "表单ID")
    @QueryField(type = QueryType.EQ)
    private Integer formId;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @Schema(description = "订单编号")
    @QueryField(type = QueryType.LIKE)
    private String orderNo;

}
