-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65fb8b5
commit 33a8877
Showing
19 changed files
with
60 additions
and
760 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
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,40 +1,19 @@ | ||
package cn.luischen.dto; | ||
|
||
import cn.luischen.model.ContentDomain; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* 文章归档类 | ||
* Created by winterchen on 2018/4/30. | ||
*/ | ||
@Data | ||
public class ArchiveDto { | ||
|
||
private String date; | ||
private String count; | ||
private List<ContentDomain> articles; | ||
|
||
public String getDate() { | ||
return date; | ||
} | ||
|
||
public void setDate(String date) { | ||
this.date = date; | ||
} | ||
|
||
public String getCount() { | ||
return count; | ||
} | ||
|
||
public void setCount(String count) { | ||
this.count = count; | ||
} | ||
|
||
public List<ContentDomain> getArticles() { | ||
return articles; | ||
} | ||
|
||
public void setArticles(List<ContentDomain> articles) { | ||
this.articles = articles; | ||
} | ||
} |
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
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,20 +1,16 @@ | ||
package cn.luischen.dto; | ||
|
||
import lombok.Data; | ||
|
||
/** | ||
* 公共属性的类 | ||
* Created by winterchen on 2018/4/29. | ||
*/ | ||
@Data | ||
public class BaseDto { | ||
|
||
|
||
/** 用户名 */ | ||
private String userName; | ||
|
||
public String getUserName() { | ||
return userName; | ||
} | ||
|
||
public void setUserName(String userName) { | ||
this.userName = userName; | ||
} | ||
} |
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,20 +1,17 @@ | ||
package cn.luischen.dto; | ||
|
||
import cn.luischen.model.MetaDomain; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
/** | ||
* 标签、分类列表 | ||
* Created by winterchen on 2018/4/30. | ||
*/ | ||
@EqualsAndHashCode(callSuper = true) | ||
@Data | ||
public class MetaDto extends MetaDomain { | ||
|
||
private int count; | ||
|
||
public int getCount() { | ||
return count; | ||
} | ||
|
||
public void setCount(int count) { | ||
this.count = count; | ||
} | ||
} |
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
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
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
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
Oops, something went wrong.