package link.at17.mid.tushare.data.models;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import link.at17.mid.tushare.enums.StockMarket;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@SuppressWarnings("serial")
@Data
@Accessors(chain=true)
@EqualsAndHashCode(callSuper=false)
@ToString
@TableName("stock_calendar")
public class StockCalendar extends Model<StockCalendar> {
    LocalDate date;
    StockMarket exchange;
    LocalDate pretradeDate;
    Boolean isOpen;
}
