content: // Copyright (c) 2025 Alibaba Group and its affiliates
  
  // 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.example.model;
  
  /**
   * 用户实体类
   */
  public class User {
      private Long id;
      private String username;
      private String email;
      private String phone;
      private String address;
      private String createTime;
      private String updateTime;
      private Integer status;
  
      // 构造函数
      public User() {}
  
      public User(Long id, String username, String email, String phone, String address, String createTime, String updateTime, Integer status) {
          this.id = id;
          this.username = username;
          this.email = email;
          this.phone = phone;
          this.address = address;
          this.createTime = createTime;
          this.updateTime = updateTime;
          this.status = status;
      }
  
      // Getter和Setter方法
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getUsername() {
          return username;
      }
  
      public void setUsername(String username) {
          this.username = username;
      }
  
      public String getEmail() {
          return email;
      }
  
      public void setEmail(String email) {
          this.email = email;
      }
  
      public String getPhone() {
          return phone;
      }
  
      public void setPhone(String phone) {
          this.phone = phone;
      }
  
      public String getAddress() {
          return address;
      }
  
      public void setAddress(String address) {
          this.address = address;
      }
  
      public String getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(String createTime) {
          this.createTime = createTime;
      }
  
      public String getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(String updateTime) {
          this.updateTime = updateTime;
      }
  
      public Integer getStatus() {
          return status;
      }
  
      public void setStatus(Integer status) {
          this.status = status;
      }
  
      @Override
      public String toString() {
          return "User{" +
                  "id=" + id +
                  ", username='" + username + '\'' +
                  ", email='" + email + '\'' +
                  ", phone='" + phone + '\'' +
                  ", address='" + address + '\'' +
                  ", createTime='" + createTime + '\'' +
                  ", updateTime='" + updateTime + '\'' +
                  ", status=" + status +
                  '}';
      }
  } 