gehgassi_backend/gehGassi.Dto/Payment/TransactionFeeDto.cs

35 lines
783 B
C#

using gehGassi.Dto.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace gehGassi.Dto.Payment
{
/// <summary>
/// DTO für Transaktionsgebühren
/// </summary>
public class TransactionFeeDto : SyncEntityDto
{
/// <summary>
/// Zahlungsmethode
/// </summary>
[Required]
public PayInTypeDto PayInType { get; set; }
/// <summary>
/// Prozent
/// </summary>
[Required]
[Range(0.0, 100.0)]
public decimal Percent { get; set; }
/// <summary>
/// Fixer Betrag
/// </summary>
[Required]
[Range(0.0, 100000.0)]
public decimal Fixed { get; set; }
}
}