package com.gxwebsoft.glt.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 lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 消费日志查询参数
 *
 * @author 科技小王子
 * @since 2026-02-03 18:55:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "GltUserTicketLogParam对象", description = "消费日志查询参数")
public class GltUserTicketLogParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer id;

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

    @Schema(description = "变更类型")
    @QueryField(type = QueryType.EQ)
    private Integer changeType;

    @Schema(description = "可更改")
    @QueryField(type = QueryType.EQ)
    private Integer changeAvailable;

    @Schema(description = "更改冻结状态")
    @QueryField(type = QueryType.EQ)
    private Integer changeFrozen;

    @Schema(description = "已使用更改")
    @QueryField(type = QueryType.EQ)
    private Integer changeUsed;

    @Schema(description = "可用后")
    @QueryField(type = QueryType.EQ)
    private Integer availableAfter;

    @Schema(description = "冻结后")
    @QueryField(type = QueryType.EQ)
    private Integer frozenAfter;

    @Schema(description = "使用后")
    @QueryField(type = QueryType.EQ)
    private Integer usedAfter;

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

    @Schema(description = "订单编号")
    private String orderNo;

    @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;

}
