moved to logic from api to lib
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good

This commit is contained in:
2021-06-21 10:25:05 +02:00
parent 28dbf4d098
commit bd98adc4cb
49 changed files with 60894 additions and 0 deletions

24
Models/CropYieldModel.cs Normal file
View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace FarmMapsAPI.Carbon.Models
{
public class YearData
{
public int Year { get; set; }
public double YieldValue { get; set; }
}
public class Yield
{
public string ProvinceCode { get; set; }
public List<YearData> YearData { get; set; }
}
public class CropYieldModel
{
public string CropName { get; set; }
public List<Yield> Yields { get; set; }
}
}