All Downloads are FREE. Search and download functionalities are using the official Maven repository.

win.doyto.query.test.AccountOr Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
// Generated by delombok at Sat Jan 27 04:38:03 UTC 2024
/*
 * Copyright © 2019-2024 Forb Yuan
 *
 * 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 win.doyto.query.test;

import lombok.*;
import win.doyto.query.core.Or;

/**
 * AccountOr
 *
 * @author f0rb on 2021-12-24
 */
public class AccountOr implements Or {
    private String username;
    private String email;
    private String mobile;


    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static class AccountOrBuilder {
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private String username;
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private String email;
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        private String mobile;

        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        AccountOrBuilder() {
        }

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public AccountOr.AccountOrBuilder username(final String username) {
            this.username = username;
            return this;
        }

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public AccountOr.AccountOrBuilder email(final String email) {
            this.email = email;
            return this;
        }

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public AccountOr.AccountOrBuilder mobile(final String mobile) {
            this.mobile = mobile;
            return this;
        }

        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public AccountOr build() {
            return new AccountOr(this.username, this.email, this.mobile);
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        @lombok.Generated
        public java.lang.String toString() {
            return "AccountOr.AccountOrBuilder(username=" + this.username + ", email=" + this.email + ", mobile=" + this.mobile + ")";
        }
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public static AccountOr.AccountOrBuilder builder() {
        return new AccountOr.AccountOrBuilder();
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getUsername() {
        return this.username;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getEmail() {
        return this.email;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getMobile() {
        return this.mobile;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setUsername(final String username) {
        this.username = username;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setEmail(final String email) {
        this.email = email;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public void setMobile(final String mobile) {
        this.mobile = mobile;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public AccountOr(final String username, final String email, final String mobile) {
        this.username = username;
        this.email = email;
        this.mobile = mobile;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public AccountOr() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy