package com.gxwebsoft.bszx.param;

import java.math.BigDecimal;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.TableField;
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 com.gxwebsoft.common.system.entity.User;
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 = "BszxPayParam对象", description = "百色中学-捐款记录查询参数")
public class BszxPayParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

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

    @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 = "居住地址")
    private String address;

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

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

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

    @Schema(description = "付费金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

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

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

    @Schema(description = "订单编号")
    @QueryField(type = QueryType.IN)
    private Set<String> orderNos;

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

    @Schema(description = "捐赠证书")
    private String certificate;

    @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 = "登录用户")
    @TableField(exist = false)
    private User loginUser;

}
