package com.gxwebsoft.hjm.param;

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

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-04-14 16:43:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "HjmCarParam对象", description = "黄家明_车辆管理查询参数")
public class HjmCarParam 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 = "车辆图片")
    private String image;

    @Schema(description = "类型 0汽车 1其他车")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "快递公司")
    private String kuaidi;

    @Schema(description = "管理负责人")
    private String kuaidiAdmin;

    @Schema(description = "车辆编号")
    private String code;

    @Schema(description = "车辆车架号")
    private String vinCode;

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

    @Schema(description = "司机")
    @QueryField(type = QueryType.EQ)
    private Integer driver;

    @Schema(description = "保险状态")
    @QueryField(type = QueryType.EQ)
    private String insuranceStatus;

    @Schema(description = "保险图片")
    private String bdImg;

    @Schema(description = "GPS设备编号")
    private String gpsNo;

    @Schema(description = "电子围栏")
    private String fence;

    @Schema(description = "所在区域")
    @QueryField(type = QueryType.EQ)
    private String district;

    @Schema(description = "纬度")
    @QueryField(type = QueryType.EQ)
    private String latitude;

    @Schema(description = "经度")
    @QueryField(type = QueryType.EQ)
    private String longitude;

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

    @Schema(description = "组织ID集")
    @QueryField(type = QueryType.IN)
    private Set<Integer> organizationIds;

    @Schema(description = "父级组织ID")
    @QueryField(type = QueryType.EQ)
    private Integer organizationParentId;

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

    @Schema(description = "安装人员ID")
    @QueryField(type = QueryType.EQ)
    private Integer installerId;

    @Schema(description = "安装时间")
    private String installTime;

    @Schema(description = "是否认领, 0未认领, 1已认领")
    @QueryField(type = QueryType.EQ)
    private Integer claim;

    @Schema(description = "认领时间")
    private String claimTime;

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

}
