package com.jwipc.contract.model.query;/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */

import com.jwipc.db.DbUtil;
import com.jwipc.query.BasePageQuery;
import lombok.Data;

@Data
public class CostCenterQuery extends BasePageQuery {
    private String code;
    private String name;

    public String getCodeLike() {
        return DbUtil.toLike(this.code);
    }

    public String getNameLike() {
        return DbUtil.toLike(this.name);
    }
}
