Untitled

  1. API 구성할때 최대한 테이블 dto 따라서 받으려고 생각 중 → 어차피 차이가 없음
  2. 칼럼명은 flutter를 백엔드에 일치시키겠음..

DB 명명 규칙을 뒤져본 결과

Coins

'id' : Long // PK
'market' : String // FK
'korean_name' : String
'english_name' : String
'logo_uri' : String

Prices

'id' : Long // PK
'market' : String // FK
'opening_price' : Double
'high_price' : Double
'low_price' : Double
'trade_price' : Double
'closed_price' : Double
'change_rate' : Double
'timestamp' : DateTime
'source' : String // api source
'unit' : String // minute day week month
'currency' : String // KRW, USDT, BTC etc.

News

'id' : Long // PK
'title' : String
'posted_date' : Date
'targeting_date' : Date
'type' : String // news type
'source' : String // news platform string displayed on app
'url' : String