base_from_coalmine.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package models
  2. import (
  3. "time"
  4. )
  5. type BaseFromCoalmineMapping struct {
  6. BaseFromCoalmineMappingId int `orm:"column(base_from_coalmine_mapping_id);pk"`
  7. IndexName string `description:"持买单量指标名称"`
  8. IndexCode string `description:"持买单量指标编码"`
  9. CreateTime time.Time `description:"时间"`
  10. }
  11. type BaseFromCoalmineJsmIndex struct {
  12. BaseFromCoalmineJsmIndexId int `orm:"column(base_from_coalmine_jsm_index_id);pk"`
  13. IndexName string `description:"持买单量指标名称"`
  14. IndexCode string `description:"持买单量指标编码"`
  15. Exchange string `description:"样本统计类别"`
  16. DealValue string `description:"成交量"`
  17. DataTime string `description:"数据日期"`
  18. Source string `description:"来源"`
  19. Province string `description:"省份"`
  20. Description string `description:"描述"`
  21. Unit string `description:"单位"`
  22. Frequency string `description:"频率"`
  23. CreateTime time.Time `description:"插入时间"`
  24. ModifyTime time.Time `description:"修改时间"`
  25. }
  26. type BaseFromCoalmineCompanyIndex struct {
  27. BaseFromCoalmineCompanyIndexId int `orm:"column(base_from_coalmine_company_index_id);pk"`
  28. IndexName string `description:"持买单量指标名称"`
  29. IndexCode string `description:"持买单量指标编码"`
  30. DealValue string `description:"成交量"`
  31. DataTime string `description:"数据日期"`
  32. Source string `description:"来源"`
  33. Province string `description:"省份"`
  34. City string `description:"城市"`
  35. GroupName string `description:"集团名称"`
  36. Unit string `description:"单位"`
  37. Frequency string `description:"频率"`
  38. CreateTime time.Time `description:"插入时间"`
  39. ModifyTime time.Time `description:"修改时间"`
  40. }
  41. type SheetData struct {
  42. Name string
  43. Rows []Row
  44. Cols []*Col
  45. MaxRow int
  46. MaxCol int
  47. Hidden bool
  48. Selected bool
  49. }
  50. type Row struct {
  51. Cells []Cell
  52. Hidden bool
  53. Height float64
  54. OutlineLevel uint8
  55. isCustom bool
  56. }
  57. type Col struct {
  58. Min int
  59. Max int
  60. Hidden bool
  61. Width float64
  62. Collapsed bool
  63. OutlineLevel uint8
  64. numFmt string
  65. }
  66. type Cell struct {
  67. Value string
  68. }