package org.springblade.thirdparty.mk.pojo.dto.approval;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  条件
 * @author bfhuange
 * @since 2025/4/2
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class MKConditionDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     *  相等
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("$eq")
    private String eq;
    /**
     *  大于等于
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("$gte")
    private String gte;
    /**
     *  小于等于
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("$lte")
    private String lte;
    /**
     *  包含
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("$contains")
    private String contains;

}
