Skip to content

Commit

Permalink
add annotation for bounty
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Jan 26, 2024
1 parent 043d3ad commit e90c378
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 9 additions & 5 deletions src/main/java/com/dl/officialsite/bounty/Bounty.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ public class Bounty {
@NotNull
private String creator;

// 标题
private String title;

@Column(columnDefinition = "TEXT")
private String description;


//薪资范围
private String salary;
// 线性释放, 指数释放
private int paymentType;
//支付类型
private Integer paymentType;

private String projectLength;
//项目周期
private String projectPeriod;

// 所需技能
private String techTag;

/**
Expand All @@ -54,11 +60,9 @@ public class Bounty {
*/
private int status;

// 创建人公司
private String company;

private String tags;

private String benefits;


@CreationTimestamp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ public void updateRedpacketStatus() throws IOException {
}





List<RedPacket> redPacketList = redPacketRepository.findUnfinishedRedpacketByChainId(chainId);
log.info("redPacketList size " + redPacketList.size());
for (int i = 0; i < redpacketsArray.size(); i++) {
Expand Down

0 comments on commit e90c378

Please sign in to comment.