Skip to content

Commit 1cdb8cc

Browse files
committed
修改注释
1 parent 36a6c75 commit 1cdb8cc

File tree

153 files changed

+2375
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+2375
-397
lines changed

assets/src/main/java/io/leafage/basic/assets/AssetsApplication.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@
2323
/**
2424
* assets application
2525
*
26-
* @author liwenqiang
26+
* @author wq li
2727
*/
2828
@SpringBootApplication
2929
public class AssetsApplication {
3030

31+
/**
32+
* <p>main.</p>
33+
*
34+
* @param args an array of {@link java.lang.String} objects
35+
*/
3136
public static void main(String[] args) {
3237
SpringApplication.run(AssetsApplication.class, args);
3338
}

assets/src/main/java/io/leafage/basic/assets/audit/AuditMetadata.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* audit metadata
3333
*
34-
* @author liwenqiang 2020-10-06 22:09
34+
* @author wq li
3535
*/
3636
public abstract class AuditMetadata implements Auditable<String, Long, Instant> {
3737

@@ -69,51 +69,63 @@ public abstract class AuditMetadata implements Auditable<String, Long, Instant>
6969
@Column(value = "last_modified_date")
7070
private Instant lastModifiedDate;
7171

72+
/**
73+
* {@inheritDoc}
74+
*/
7275
@Override
7376
public Optional<String> getCreatedBy() {
7477
return Optional.ofNullable(this.createdBy);
7578
}
7679

80+
/** {@inheritDoc} */
7781
@Override
7882
public void setCreatedBy(String createdBy) {
7983
this.createdBy = createdBy;
8084
}
8185

86+
/** {@inheritDoc} */
8287
@Override
8388
public Optional<Instant> getCreatedDate() {
8489
return Optional.ofNullable(this.createdDate);
8590
}
8691

92+
/** {@inheritDoc} */
8793
@Override
8894
public void setCreatedDate(Instant creationDate) {
8995
this.createdDate = creationDate;
9096
}
9197

98+
/** {@inheritDoc} */
9299
@Override
93100
public Optional<String> getLastModifiedBy() {
94101
return Optional.ofNullable(this.lastModifiedBy);
95102
}
96103

104+
/** {@inheritDoc} */
97105
@Override
98106
public void setLastModifiedBy(String lastModifiedBy) {
99107
this.lastModifiedBy = lastModifiedBy;
100108
}
101109

110+
/** {@inheritDoc} */
102111
@Override
103112
public Optional<Instant> getLastModifiedDate() {
104113
return Optional.ofNullable(this.lastModifiedDate);
105114
}
106115

116+
/** {@inheritDoc} */
107117
@Override
108118
public void setLastModifiedDate(Instant lastModifiedDate) {
109119
this.lastModifiedDate = lastModifiedDate;
110120
}
111121

122+
/** {@inheritDoc} */
112123
@Override
113124
public Long getId() {
114125
return this.id;
115126
}
116127

128+
/** {@inheritDoc} */
117129
@Override
118130
public boolean isNew() {
119131
return Objects.isNull(getId());

assets/src/main/java/io/leafage/basic/assets/audit/AuditorAwareImpl.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@
2222
import reactor.core.publisher.Mono;
2323

2424
/**
25-
* auditor impl
25+
* auditor aware
26+
*
27+
* @author wq li
2628
*/
2729
public class AuditorAwareImpl implements ReactiveAuditorAware<String> {
2830

31+
/**
32+
* {@inheritDoc}
33+
*/
2934
@Nonnull
3035
@Override
3136
public Mono<String> getCurrentAuditor() {

assets/src/main/java/io/leafage/basic/assets/audit/package-info.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
/**
1919
* Audit
20+
*
21+
* @author wq li
2022
*/
2123
@org.springframework.lang.NonNullApi
2224
package io.leafage.basic.assets.audit;

assets/src/main/java/io/leafage/basic/assets/bo/CategoryBO.java

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
/**
2323
* bo class for category
2424
*
25-
* @author wilsonli 2022-12-10 22:28
26-
**/
25+
* @author wq li
26+
*/
2727
public abstract class CategoryBO {
2828

2929
/**
@@ -37,18 +37,38 @@ public abstract class CategoryBO {
3737
*/
3838
private String description;
3939

40+
/**
41+
* <p>Getter for the field <code>name</code>.</p>
42+
*
43+
* @return a {@link java.lang.String} object
44+
*/
4045
public String getName() {
4146
return name;
4247
}
4348

49+
/**
50+
* <p>Setter for the field <code>name</code>.</p>
51+
*
52+
* @param name a {@link java.lang.String} object
53+
*/
4454
public void setName(String name) {
4555
this.name = name;
4656
}
4757

58+
/**
59+
* <p>Getter for the field <code>description</code>.</p>
60+
*
61+
* @return a {@link java.lang.String} object
62+
*/
4863
public String getDescription() {
4964
return description;
5065
}
5166

67+
/**
68+
* <p>Setter for the field <code>description</code>.</p>
69+
*
70+
* @param description a {@link java.lang.String} object
71+
*/
5272
public void setDescription(String description) {
5373
this.description = description;
5474
}

assets/src/main/java/io/leafage/basic/assets/bo/CommentBO.java

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* bo class for comment
2525
*
26-
* @author liwenqiang 2023-03-26 14:30
26+
* @author wq li
2727
*/
2828
public abstract class CommentBO {
2929

@@ -45,26 +45,56 @@ public abstract class CommentBO {
4545
private Long replier;
4646

4747

48+
/**
49+
* <p>Getter for the field <code>postId</code>.</p>
50+
*
51+
* @return a {@link java.lang.Long} object
52+
*/
4853
public Long getPostId() {
4954
return postId;
5055
}
5156

57+
/**
58+
* <p>Setter for the field <code>postId</code>.</p>
59+
*
60+
* @param postId a {@link java.lang.Long} object
61+
*/
5262
public void setPostId(Long postId) {
5363
this.postId = postId;
5464
}
5565

66+
/**
67+
* <p>Getter for the field <code>context</code>.</p>
68+
*
69+
* @return a {@link java.lang.String} object
70+
*/
5671
public String getContext() {
5772
return context;
5873
}
5974

75+
/**
76+
* <p>Setter for the field <code>context</code>.</p>
77+
*
78+
* @param context a {@link java.lang.String} object
79+
*/
6080
public void setContext(String context) {
6181
this.context = context;
6282
}
6383

84+
/**
85+
* <p>Getter for the field <code>replier</code>.</p>
86+
*
87+
* @return a {@link java.lang.Long} object
88+
*/
6489
public Long getReplier() {
6590
return replier;
6691
}
6792

93+
/**
94+
* <p>Setter for the field <code>replier</code>.</p>
95+
*
96+
* @param replier a {@link java.lang.Long} object
97+
*/
6898
public void setReplier(Long replier) {
6999
this.replier = replier;
70100
}

assets/src/main/java/io/leafage/basic/assets/bo/PostBO.java

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* bo class for post
2626
*
27-
* @author liwenqiang 2022-12-10 22:09
27+
* @author wq li
2828
*/
2929
public abstract class PostBO {
3030

@@ -52,34 +52,74 @@ public abstract class PostBO {
5252
private Set<String> tags;
5353

5454

55+
/**
56+
* <p>Getter for the field <code>title</code>.</p>
57+
*
58+
* @return a {@link java.lang.String} object
59+
*/
5560
public String getTitle() {
5661
return title;
5762
}
5863

64+
/**
65+
* <p>Setter for the field <code>title</code>.</p>
66+
*
67+
* @param title a {@link java.lang.String} object
68+
*/
5969
public void setTitle(String title) {
6070
this.title = title;
6171
}
6272

73+
/**
74+
* <p>Getter for the field <code>cover</code>.</p>
75+
*
76+
* @return a {@link java.lang.String} object
77+
*/
6378
public String getCover() {
6479
return cover;
6580
}
6681

82+
/**
83+
* <p>Setter for the field <code>cover</code>.</p>
84+
*
85+
* @param cover a {@link java.lang.String} object
86+
*/
6787
public void setCover(String cover) {
6888
this.cover = cover;
6989
}
7090

91+
/**
92+
* <p>Getter for the field <code>context</code>.</p>
93+
*
94+
* @return a {@link java.lang.String} object
95+
*/
7196
public String getContext() {
7297
return context;
7398
}
7499

100+
/**
101+
* <p>Setter for the field <code>context</code>.</p>
102+
*
103+
* @param context a {@link java.lang.String} object
104+
*/
75105
public void setContext(String context) {
76106
this.context = context;
77107
}
78108

109+
/**
110+
* <p>Getter for the field <code>tags</code>.</p>
111+
*
112+
* @return a {@link java.util.Set} object
113+
*/
79114
public Set<String> getTags() {
80115
return tags;
81116
}
82117

118+
/**
119+
* <p>Setter for the field <code>tags</code>.</p>
120+
*
121+
* @param tags a {@link java.util.Set} object
122+
*/
83123
public void setTags(Set<String> tags) {
84124
this.tags = tags;
85125
}

assets/src/main/java/io/leafage/basic/assets/config/AuditConfiguration.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@
2626
/**
2727
* audit configuration
2828
*
29-
* @author liwenqiang 2020-10-06 22:09Z
29+
* @author wq li
3030
*/
3131
@Configuration
3232
@EnableR2dbcAuditing
3333
public class AuditConfiguration {
3434

35+
/**
36+
* <p>auditorProvider.</p>
37+
*
38+
* @return a {@link org.springframework.data.domain.ReactiveAuditorAware} object
39+
*/
3540
@Bean
3641
public ReactiveAuditorAware<String> auditorProvider() {
3742
return new AuditorAwareImpl();

assets/src/main/java/io/leafage/basic/assets/config/AuthorizationServerConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* authorization configuration
3131
*
32-
* @author liwenqiang 2020-10-06 22:09Z
32+
* @author wq li
3333
*/
3434
@Configuration
3535
@EnableWebFluxSecurity

assets/src/main/java/io/leafage/basic/assets/constants/StatisticsEnum.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
/**
2121
* statistics type enum
2222
*
23-
* @author liwenqiang 2022-05-31 09:03
24-
**/
23+
* @author wq li
24+
*/
2525
public enum StatisticsEnum {
2626

2727
VIEWED("viewed"),

0 commit comments

Comments
 (0)