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

import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;

import link.at17.mid.tushare.data.models.interfaces.ITsStockInfo;
import link.at17.mid.tushare.enums.ThsStockMarket;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain=true)
@TableName("stock_ths_list")
public class ThsStockInfo implements ITsStockInfo {
    @JSONField(name="ts_code")
    private String tsCode;
    private String name;
    private Integer count;
    @JSONField(name="list_date")
    private LocalDateTime listDate;
    @JSONField(name="exchange")
    private ThsStockMarket exchange;
}
