Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Poseiden-skeleton/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.25.0-GA</version>
</dependency>
</dependencies>

<build>
Expand Down
102 changes: 0 additions & 102 deletions Poseiden-skeleton/spring-boot-skeleton.iml

This file was deleted.

213 changes: 209 additions & 4 deletions Poseiden-skeleton/src/main/java/com/nnk/springboot/domain/BidList.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,220 @@
package com.nnk.springboot.domain;

import org.springframework.beans.factory.annotation.Required;

import javax.persistence.*;
import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import java.sql.Date;
import java.sql.Timestamp;

@Entity
@Table(name = "bidlist")
public class BidList {
// TODO: Map columns in data table BIDLIST with corresponding java fields
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer bidListId;
@NotBlank(message = "Account is mandatory")
private String account;
@NotBlank(message = "Type is mandatory")
private String type;
private Double bidQuantity;
private Double askQuantity;
private Double bid;
private Double ask;
private String benchmark;
private Timestamp bidListDate;
private String commentary;
private String security;
private String status;
private String trader;
private String book;
private String creationName;
private Timestamp creationDate;
private String revisionName;
private Timestamp revisionDate;
private String dealName;
private String dealType;
private String sourceListId;
private String side;


public BidList() {
}

public BidList(String account_test, String type_test, double v) {
}

public Integer getBidListId() {
return bidListId;
}

public void setBidListId(Integer bidListId) {
this.bidListId = bidListId;
}

public String getAccount() {
return account;
}

public void setAccount(String account) {
this.account = account;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

public Double getBidQuantity() {
return bidQuantity;
}

public void setBidQuantity(Double bidQuantity) {
this.bidQuantity = bidQuantity;
}

public Double getAskQuantity() {
return askQuantity;
}

public void setAskQuantity(Double askQuantity) {
this.askQuantity = askQuantity;
}

public Double getBid() {
return bid;
}

public void setBid(Double bid) {
this.bid = bid;
}

public Double getAsk() {
return ask;
}

public void setAsk(Double ask) {
this.ask = ask;
}

public String getBenchmark() {
return benchmark;
}

public void setBenchmark(String benchmark) {
this.benchmark = benchmark;
}

public Timestamp getBidListDate() {
return bidListDate;
}

public void setBidListDate(Timestamp bidListDate) {
this.bidListDate = bidListDate;
}

public String getCommentary() {
return commentary;
}

public void setCommentary(String commentary) {
this.commentary = commentary;
}

public String getSecurity() {
return security;
}

public void setSecurity(String security) {
this.security = security;
}

public String getStatus() {
return status;
}

public void setStatus(String status) {
this.status = status;
}

public String getTrader() {
return trader;
}

public void setTrader(String trader) {
this.trader = trader;
}

public String getBook() {
return book;
}

public void setBook(String book) {
this.book = book;
}

public String getCreationName() {
return creationName;
}

public void setCreationName(String creationName) {
this.creationName = creationName;
}

public Timestamp getCreationDate() {
return creationDate;
}

public void setCreationDate(Timestamp creationDate) {
this.creationDate = creationDate;
}

public String getRevisionName() {
return revisionName;
}

public void setRevisionName(String revisionName) {
this.revisionName = revisionName;
}

public Timestamp getRevisionDate() {
return revisionDate;
}

public void setRevisionDate(Timestamp revisionDate) {
this.revisionDate = revisionDate;
}

public String getDealName() {
return dealName;
}

public void setDealName(String dealName) {
this.dealName = dealName;
}

public String getDealType() {
return dealType;
}

public void setDealType(String dealType) {
this.dealType = dealType;
}

public String getSourceListId() {
return sourceListId;
}

public void setSourceListId(String sourceListId) {
this.sourceListId = sourceListId;
}

public String getSide() {
return side;
}

public void setSide(String side) {
this.side = side;
}
}
Loading