first commot
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 8s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s

This commit is contained in:
孙诚
2025-12-25 11:20:56 +08:00
commit 4526cc6396
104 changed files with 11070 additions and 0 deletions

27
Entity/WeatherForecast.cs Normal file
View File

@@ -0,0 +1,27 @@
namespace Entity;
/// <summary>
/// 天气预报实体
/// </summary>
public class WeatherForecast : BaseEntity
{
/// <summary>
/// 日期
/// </summary>
public DateOnly Date { get; set; }
/// <summary>
/// 摄氏温度
/// </summary>
public int TemperatureC { get; set; }
/// <summary>
/// 摄氏度转华氏度
/// </summary>
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
/// <summary>
/// 天气摘要
/// </summary>
public string? Summary { get; set; }
}