/*
|
* 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 me.zhengjie.modules.contract.service.dto;
|
|
import lombok.Data;
|
|
import java.sql.Timestamp;
|
import java.util.List;
|
import java.util.Set;
|
|
import me.zhengjie.annotation.Query;
|
|
/**
|
* @website https://eladmin.vip
|
* @author 赵士淞
|
* @date 2023-02-02
|
**/
|
@Data
|
public class ContractQueryCriteria{
|
|
/** 精确 */
|
@Query
|
private String contractNumber;
|
|
/** 模糊 */
|
@Query(type = Query.Type.INNER_LIKE)
|
private String contractName;
|
|
/** 精确 */
|
@Query
|
private Long firstId;
|
|
/** 精确 */
|
@Query
|
private Long secondId;
|
|
/** 两者之间 */
|
@Query(type = Query.Type.BETWEEN)
|
private List<Timestamp> signDate;
|
|
/** 精确 */
|
@Query
|
private String contractType;
|
|
/** 精确 */
|
@Query
|
private String contractPaymentState;
|
|
/** 精确 */
|
@Query
|
private String servicePaymentState;
|
|
/** 精确 */
|
@Query
|
private String contractStatus;
|
|
/** 模糊 */
|
@Query(type = Query.Type.INNER_LIKE)
|
private String contractAreaCode;
|
|
/** 模糊 */
|
@Query(type = Query.Type.IN, propName = "companyId")
|
private Set<Long> companys;
|
|
/** 精确 */
|
@Query(type = Query.Type.EQUAL, propName = "companyId")
|
private Long companyId;
|
|
/** 精确 */
|
@Query(type = Query.Type.EQUAL, propName = "signDate")
|
private Timestamp signDateEqual;
|
|
/** 模糊 */
|
@Query(type = Query.Type.RIGHT_LIKE, propName = "signDate")
|
private String signDateRightLike;
|
}
|