moved to logic from api to lib
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good
This commit is contained in:
24
Models/CropYieldModel.cs
Normal file
24
Models/CropYieldModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user