edb_info_calculate_mapping.go 1.5 KB

123456789101112131415161718192021222324252627282930
  1. package models
  2. import "time"
  3. type EdbInfoCalculateMapping struct {
  4. EdbInfoCalculateMappingId int `orm:"column(edb_info_calculate_mapping_id);pk"`
  5. EdbInfoId int `description:"计算指标id"`
  6. Source int `description:"计算指标来源"`
  7. SourceName string `description:"计算指标来源名称"`
  8. EdbCode string `description:"计算指标编码"`
  9. FromEdbInfoId int `description:"基础指标id"`
  10. FromEdbCode string `description:"基础指标编码"`
  11. FromEdbName string `description:"基础指标名称"`
  12. FromSource int `description:"基础指标来源"`
  13. FromSourceName string `description:"基础指标来源名称"`
  14. FromTag string `description:"来源指标标签"`
  15. MoveValue int `description:"移动的值,小于0是提前,0是不变,大于0是滞后"`
  16. Sort int `description:"计算指标名称排序"`
  17. CreateTime time.Time `description:"创建时间"`
  18. ModifyTime time.Time `description:"修改时间"`
  19. }
  20. type EdbInfoCalculateMappingResp struct {
  21. Ret int `json:"Ret"`
  22. Msg string `json:"Msg"`
  23. ErrMsg string `json:"ErrMsg"`
  24. ErrCode string `json:"ErrCode"`
  25. Data []*EdbInfoCalculateMapping `json:"Data"`
  26. Success bool `json:"Success"`
  27. }