2026-03-02 09:54:52 +08:00

33 lines
832 B
C#

using System.ComponentModel.DataAnnotations;
using YD_Event.Core.Enum;
namespace YD_Event.Application.Refund.Dtos;
public class RefundConfigDto
{
public long Id { get; set; }
public int DayStart { get; set; }
public int DayEnd { get; set; }
public decimal DeductPercentage { get; set; }
public string Remark { get; set; }
public AvailabilityStatus Status { get; set; }
}
public class RefundConfigInput
{
public long? Id { get; set; }
[Required]
public int DayStart { get; set; }
[Required]
public int DayEnd { get; set; }
[Required]
public decimal DeductPercentage { get; set; }
public string Remark { get; set; }
public AvailabilityStatus Status { get; set; }
}
public class RefundConfigQueryInput : Pagination
{
public AvailabilityStatus? Status { get; set; }
}