package com.gxwebsoft.glt.param;

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

import java.math.BigDecimal;

/**
 * 送水订单查询参数
 *
 * @author 科技小王子
 * @since 2026-02-05 18:50:19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "GltTicketOrderParam对象", description = "送水订单查询参数")
public class GltTicketOrderParam 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 = "门店ID")
    @QueryField(type = QueryType.EQ)
    private Integer storeId;

    @Schema(description = "配送员")
    @QueryField(type = QueryType.EQ)
    private Integer riderId;

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

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

    @Schema(description = "配送状态：10待配送、20配送中、30待客户确认、40已完成")
    @QueryField(type = QueryType.EQ)
    private Integer deliveryStatus;

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

    @Schema(description = "关联收货地址")
    @QueryField(type = QueryType.EQ)
    private Integer addressId;

    @Schema(description = "收货地址")
    private String address;

    @Schema(description = "买家留言")
    private String buyerRemarks;

    @Schema(description = "用于统计")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

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

    @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.EQ)
    private Integer orderStatus;

}
