2020-06-09 18:13:58 +07:00
|
|
|
package com.cubetiqs.demo;
|
|
|
|
|
2020-06-10 19:38:38 +07:00
|
|
|
import com.cubetiqs.demo.domain.UserEntity;
|
2020-06-11 19:13:29 +07:00
|
|
|
import com.cubetiqs.demo.rest.UserController;
|
2020-06-10 19:38:38 +07:00
|
|
|
import org.springframework.boot.CommandLineRunner;
|
2020-06-09 18:13:58 +07:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
2020-06-11 19:13:29 +07:00
|
|
|
import java.io.File;
|
|
|
|
|
2020-06-09 18:13:58 +07:00
|
|
|
@SpringBootApplication
|
2020-06-10 19:38:38 +07:00
|
|
|
public class DemoApplication implements CommandLineRunner {
|
2020-06-09 18:13:58 +07:00
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(DemoApplication.class, args);
|
|
|
|
}
|
|
|
|
|
2020-06-10 19:38:38 +07:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void run(String... args) throws Exception {
|
|
|
|
UserEntity userEntity = new UserEntity();
|
|
|
|
userEntity.setEmail("a@gm.com");
|
|
|
|
}
|
2020-06-09 18:13:58 +07:00
|
|
|
}
|