You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
405 B
21 lines
405 B
package cc.bnblogs.beanstudy.entity; |
|
|
|
import lombok.Data; |
|
|
|
/** |
|
* @description: |
|
* @author: zfp@bnblogs.cc |
|
* @date: 2023/3/28 23:05 |
|
*/ |
|
@Data |
|
public class User { |
|
public User() { |
|
System.out.println("调用无参构造器创建User"); |
|
} |
|
public void init() { |
|
System.out.println("初始化User"); |
|
} |
|
public void destroy() { |
|
System.out.println("销毁User"); |
|
} |
|
} |