33 lines
820 B
C#
33 lines
820 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using gehGassiApp.Domain.Base;
|
|
using gehGassiApp.Domain.Common;
|
|
|
|
namespace gehGassiApp.Domain.Payment
|
|
{
|
|
/// <summary>
|
|
/// Repräsentiert eine Transaktionsgebühr, die vom System berechnet wird und vom Kunden zu tragen ist.
|
|
/// </summary>
|
|
public class TransactionFee : SyncEntity
|
|
{
|
|
/// <summary>
|
|
/// Zahlungsmethode
|
|
/// </summary>
|
|
[Required]
|
|
public PayInType 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; }
|
|
}
|
|
}
|