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

com.mybatisflex.test.model.AccountVO2 Maven / Gradle / Ivy

The newest version!
/*
 *  Copyright (c) 2022-2025, Mybatis-Flex ([email protected]).
 *  

* 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.mybatisflex.test.model; import com.mybatisflex.annotation.ColumnAlias; /** * @author 王帅 * @since 2023-06-30 */ public class AccountVO2 extends IdEntity { private Integer age; @ColumnAlias("account_name") private String userName; private User user; @Override @ColumnAlias("account_id") public Long getId() { return super.getId(); } public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } @Override public String toString() { return "AccountVO2{" + "id=" + id + ", age=" + age + ", userName='" + userName + '\'' + ", user='" + user + '\'' + '}'; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy