/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.youchain.basicdata.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import com.youchain.annotation.Query;

/**
* @website https://eladmin.vip
* @author baobinglin
* @date 2024-01-02
**/
@Data
public class BomAccountQueryCriteria{
    /** 模糊 */
    @Query(propName = "code",joinName = "bigItem",type = Query.Type.INNER_LIKE)
    private String bigItemCode;
    @Query(propName = "name",joinName = "bigItem",type = Query.Type.INNER_LIKE)
    private String bigItemName;
    @Query(propName = "code",joinName = "item",type = Query.Type.INNER_LIKE)
    private String itemCode;
    @Query(propName = "name",joinName = "item",type = Query.Type.INNER_LIKE)
    private String itemName;
    @Query(propName = "code",joinName = "rArea",type = Query.Type.INNER_LIKE)
    private String rAreaCode;
    @Query(propName = "besh",joinName = "rArea",type = Query.Type.EQUAL)
    private Boolean rAreaBesh;
    @Query(propName = "bexb",joinName = "rArea",type = Query.Type.EQUAL)
    private Boolean rAreaBexb;
    @Query(propName = "code",joinName = "cArea",type = Query.Type.INNER_LIKE)
    private String cAreaCode;
    @Query(propName = "code",joinName = "zPoint",type = Query.Type.RIGHT_LIKE)
    private String zPointCode;
    /** 精确 */
    @Query
    private String out_type;
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;
    /** 精确 */
    @Query(type = Query.Type.EQUAL)
    private String stationType;

    @Query
    private String outType;
    @Query
    private String ns;
    @Query
    private String bp_type;
    @Query
    private String tckw;

    @Query
    private String kyQz;
    @Query
    private String supplier;

    @Query(joinName = "zPoint",propName = "code",type = Query.Type.IN)
    private List<String> zPointCodes;

}