using System.ComponentModel.DataAnnotations.Schema;
using LeafWeb.Core.Utility;
namespace LeafWeb.Core.Entities
{
///
/// Photosynthetic parameters of Leaf Input
///
public class LeafInputDataPhotosynthetic
{
[ForeignKey("LeafInputData")]
public int Id { get; set; }
public virtual LeafInputData LeafInputData { get; set; }
/// chloroplastic CO2 photocompensation point
/// must be positive
[ParseInfo(1, alternateTitle:"Gamma*", units: "Pa")]
public double GammaStar { get; set; }
/// Michaelis-Menten constant for RuBP carboxylation
/// must be positive
[ParseInfo(2, units: "Pa")]
public double Kc { get; set; }
/// Michaelis-Menten constant for RuBP oxygenation
/// must be positive
[ParseInfo(3, units: "Pa")]
public double Ko { get; set; }
/// the fraction of glycolate carbon not returned to the chloroplast
/// must be between 0~1 if provided
[ParseInfo(4)]
public double Alpha { get; set; }
/// dark respiration
/// must be positive if provided
[ParseInfo(5, units: "umol/m2/s")]
public double Rd { get; set; }
/// internal (also known as mesophyll) conductance
[ParseInfo(6, units: "umol/m2/s/Pa")]
public double gi { get; set; }
}
}