docker config done
This commit is contained in:
@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mapping;
|
||||
import org.mapstruct.Named;
|
||||
|
||||
@Mapper( )
|
||||
@Mapper(componentModel = "spring")
|
||||
public interface ProfessorMapper {
|
||||
|
||||
// @Mapping(target = "professorId", ignore = true) // Auto-generated
|
||||
|
||||
@ -7,7 +7,7 @@ import org.mapstruct.Mapping;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Mapper(imports = {LocalDateTime.class})
|
||||
@Mapper(componentModel = "spring",imports = {LocalDateTime.class})
|
||||
public interface UserMapper {
|
||||
|
||||
@Mapping(target = "isNotLocked", source = "notLocked")
|
||||
|
||||
@ -24,6 +24,7 @@ spring:
|
||||
enable: false
|
||||
datasource:
|
||||
url: jdbc:mysql://210.18.189.94:8098/demo
|
||||
# url: jdbc:mysql://${MYSQL_HOST:db}:8098/demo
|
||||
username: youruser
|
||||
password: youruserpassword
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
Reference in New Issue
Block a user