32 lines
1.3 KiB
C#
32 lines
1.3 KiB
C#
namespace PlotLine.Models;
|
|
public sealed class WriterPlanActivity
|
|
{
|
|
public int ActivityID { get; set; }
|
|
public int BookID { get; set; }
|
|
public int ChapterID { get; set; }
|
|
public int? SceneID { get; set; }
|
|
public string Title { get; set; } = "";
|
|
public string BookTitle { get; set; } = "";
|
|
public string RevisionStatus { get; set; } = "";
|
|
public int? Words { get; set; }
|
|
public int Minutes { get; set; } = 30;
|
|
public DateTime ScheduledDate { get; set; }
|
|
public string Status { get; set; } = "Planned";
|
|
public string Kind { get; set; } = "Review";
|
|
public bool Selected { get; set; } = true;
|
|
}
|
|
public sealed class WriterPlanningPage
|
|
{
|
|
public int ProjectID => Plan.ProjectID;
|
|
public int? BookID => Plan.BookID;
|
|
public int WritingPlanID { get; set; }
|
|
public PlotLine.ViewModels.WritingPlanSettingsEditViewModel Plan { get; set; } = new();
|
|
public List<WriterPlanActivity> Candidates { get; set; } = [];
|
|
public IReadOnlyList<WriterPlanActivity> Scheduled { get; set; } = [];
|
|
public bool Confirm { get; set; }
|
|
public string? Error { get; set; }
|
|
public string? EmptyReason { get; set; }
|
|
}
|
|
|
|
public sealed class WriterPlanningContext { public int Chapters { get; set; } public int Scenes { get; set; } public int Blocked { get; set; } public int ExistingTasks { get; set; } }
|