Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
namespace PowderCoating.Application.DTOs.PrepService;
|
||||
|
||||
/// <summary>
|
||||
/// DTO for displaying a prep service in lists
|
||||
/// </summary>
|
||||
public class PrepServiceDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ServiceName { get; set; } = string.Empty;
|
||||
public string? Description { get; set; }
|
||||
public int DisplayOrder { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public bool RequiresBlastSetup { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DTO for creating a new prep service
|
||||
/// </summary>
|
||||
public class CreatePrepServiceDto
|
||||
{
|
||||
public string ServiceName { get; set; } = string.Empty;
|
||||
public string? Description { get; set; }
|
||||
public int DisplayOrder { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public bool RequiresBlastSetup { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DTO for updating an existing prep service
|
||||
/// </summary>
|
||||
public class UpdatePrepServiceDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ServiceName { get; set; } = string.Empty;
|
||||
public string? Description { get; set; }
|
||||
public int DisplayOrder { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public bool RequiresBlastSetup { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user