mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 23:58:31 -06:00
model refactorings
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
|
||||
|
||||
namespace CanvasModel.Assignments;
|
||||
public class RubricRatingModel
|
||||
{
|
||||
|
||||
[JsonPropertyName("points")]
|
||||
public double Points { get; set; }
|
||||
public record RubricRatingModel
|
||||
(
|
||||
[property: JsonPropertyName("points")]
|
||||
double Points,
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
[property: JsonPropertyName("id")]
|
||||
string Id,
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; }
|
||||
[property: JsonPropertyName("description")]
|
||||
string Description,
|
||||
|
||||
[JsonPropertyName("long_description")]
|
||||
public string LongDescription { get; set; }
|
||||
}
|
||||
[property: JsonPropertyName("long_description")]
|
||||
string LongDescription
|
||||
);
|
||||
Reference in New Issue
Block a user