Skip to content
Snippets Groups Projects
consumption.go 624 B
Newer Older
  • Learn to ignore specific revisions
  • David PETIT's avatar
    David PETIT committed
    // package name
    package models
    
    // lirary imported
    import (	
    ) 
    
    // consumption user (ECOLYO)
    type Consumption struct {
    	Pseudo                    string   `form:"pseudo" json:"pseudo"`
    	Latitude                  float64  `form:"latitude" json:"latitude"`
    	Longitude				  float64  `form:"longitude" json:"longitude"`
    	AverageDailyConsumption   float64  `form:"averageDailyConsumption" json:"averageDailyConsumption"`
    	AverageMonthlyConsumption float64  `form:"averageMonthlyConsumption" json:"averageMonthlyConsumption"`
    	AverageAnnualConsumption  float64  `form:"averageAnnualConsumption" json:"averageAnnualConsumption"`
    }