2026-04-28 18:55:14 -05:00
|
|
|
namespace SeaHaven.Services.DTOs
|
|
|
|
|
{
|
|
|
|
|
public class PMScheduleDTO
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string? Name { get; set; }
|
2026-05-06 10:49:33 -05:00
|
|
|
public string? Frequency { get; set; }
|
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
public int? AssetId { get; set; }
|
|
|
|
|
public string? AssetName { get; set; }
|
2026-04-28 18:55:14 -05:00
|
|
|
public int? LocationId { get; set; }
|
|
|
|
|
public string? LocationName { get; set; }
|
|
|
|
|
public DateTime? CreatedDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class CreatePMScheduleDTO
|
|
|
|
|
{
|
|
|
|
|
public required string Name { get; set; }
|
2026-05-06 10:49:33 -05:00
|
|
|
public required string Frequency { get; set; }
|
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
public int? AssetId { get; set; }
|
2026-04-28 18:55:14 -05:00
|
|
|
public int? LocationId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class UpdatePMScheduleDTO
|
|
|
|
|
{
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
public string? Frequency { get; set; }
|
2026-05-06 10:49:33 -05:00
|
|
|
public DateTime? StartDate { get; set; }
|
|
|
|
|
public bool? IsActive { get; set; }
|
|
|
|
|
public int? AssetId { get; set; }
|
|
|
|
|
public int? LocationId { get; set; }
|
2026-04-28 18:55:14 -05:00
|
|
|
}
|
|
|
|
|
}
|