-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for xinra-nucleus/nucleus-interface-generator#6
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,5 @@ nbdist/ | |
src/main/resources/application.properties | ||
.checkstyle | ||
.asscache | ||
*.class | ||
com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
src/main/groovy/com/xinra/growthlectures/service/LectureSummaryDtoImpl.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
package com.xinra.growthlectures.service | ||
|
||
import groovy.transform.CompileStatic | ||
import org.apache.catalina.UserDatabase | ||
|
||
@CompileStatic | ||
class LectureSummaryDtoImpl extends NamedDtoImpl { | ||
|
||
def NamedDto category; | ||
//def NamedDto category; | ||
def Boolean played; | ||
def String description; | ||
def Double rating; | ||
def Integer userRating; | ||
def Integer duration; | ||
|
||
private NamedDto category; | ||
|
||
public NamedDto getCategory() { | ||
return category; | ||
} | ||
|
||
public void setCategory(NamedDto category) { | ||
this.category = category; | ||
} | ||
} |