22 lines
586 B
Python
22 lines
586 B
Python
from Utils.ObjUtil import SpecObject
|
|
from Utils.ValidateUtil import ValidateAttr
|
|
|
|
|
|
class IndustryReportRecord(SpecObject):
|
|
"""行业"""
|
|
|
|
industry = ValidateAttr(field='industry', type=str)
|
|
title = ValidateAttr(field='title', type=str)
|
|
update_time = ValidateAttr(field='update_time', type=str)
|
|
fid = ValidateAttr(field='fid', type=str)
|
|
|
|
fields_map = {
|
|
"industry": "一级行业",
|
|
"title": "报告标题",
|
|
"update_time": "上传日期",
|
|
"fid": "报告fid"
|
|
}
|
|
|
|
def get_latest_fid(self):
|
|
"""获取最新一期报告"""
|