flower comment supported
This commit is contained in:
@@ -64,25 +64,25 @@ public record FlowerParameter : CoverParameter
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[FromForm(Name = "memo")]
|
||||
public string? Memo { get; set; }
|
||||
public string? Memo { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 纬度
|
||||
/// </summary>
|
||||
[FromForm(Name = "lat")]
|
||||
public double? Latitude { get; set; }
|
||||
public double? Latitude { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
[FromForm(Name = "lon")]
|
||||
public double? Longitude { get; set; }
|
||||
public double? Longitude { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 存放位置
|
||||
/// </summary>
|
||||
[FromForm(Name = "location")]
|
||||
public string? Location { get; set; }
|
||||
public string? Location { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -114,13 +114,13 @@ public record FlowerCoverParameter : CoverParameter
|
||||
/// 纬度
|
||||
/// </summary>
|
||||
[FromForm(Name = "lat")]
|
||||
public double? Latitude { get; set; }
|
||||
public double? Latitude { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 经度
|
||||
/// </summary>
|
||||
[FromForm(Name = "lon")]
|
||||
public double? Longitude { get; set; }
|
||||
public double? Longitude { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user