Add PhotosynthesisType and start SSH work
modified: Core.Tests/Core.Tests.csproj modified: Core.Tests/Parsers/FluxnetSiteCsvParserTests.cs new file: Core.Tests/Remote/PiscalSshClientTests.cs modified: Core/Core.csproj modified: Core/DAL/LeafWebContext.cs modified: Core/DAL/LeafWebInitializer.cs modified: Core/Models/LeafInput.cs new file: Core/Models/PhotosynthesisType.cs new file: Core/Remote/IPiscalClient.cs Get Piscal
This commit is contained in:
@@ -23,6 +23,8 @@ namespace LeafWeb.Core.Models
|
||||
[Required(ErrorMessage = "")]
|
||||
public string SiteId { get; set; }
|
||||
|
||||
public virtual PhotosynthesisType Photosynthesis { get; set; }
|
||||
|
||||
[DataType(DataType.Date)]
|
||||
[Required]
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace LeafWeb.Core.Models
|
||||
{
|
||||
public class PhotosynthesisType
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user