mirror of
https://github.com/yzcheng90/X-SpringBoot
synced 2025-11-06 15:12:53 +08:00
调整代码
This commit is contained in:
@@ -3,10 +3,12 @@ package com.suke.czx;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@Slf4j
|
||||
@EnableScheduling
|
||||
@EnableAsync
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
|
||||
|
||||
@@ -26,9 +26,8 @@ import java.math.BigDecimal;
|
||||
*/
|
||||
@Data
|
||||
@TableName("${tableName}")
|
||||
public class ${className} implements
|
||||
public class ${className} implements Serializable {
|
||||
|
||||
Serializable {
|
||||
public static final long serialVersionUID = 1L;
|
||||
|
||||
#foreach ($column in $columns)
|
||||
|
||||
Reference in New Issue
Block a user