20 lines
488 B
C#
20 lines
488 B
C#
|
|
using System;
|
|||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|||
|
|
|
|||
|
|
namespace Sozsoft.Platform.Entities;
|
|||
|
|
|
|||
|
|
public class Currency : FullAuditedEntity<string>
|
|||
|
|
{
|
|||
|
|
public string Symbol { get; set; } // ₺, $, etc.
|
|||
|
|
public string Name { get; set; } // Turkish lira, US dollar, ...
|
|||
|
|
public decimal Rate { get; set; } // TRY başına değer
|
|||
|
|
public bool IsActive { get; set; }
|
|||
|
|
public DateTime? LastUpdated { get; set; }
|
|||
|
|
|
|||
|
|
public Currency(string id)
|
|||
|
|
{
|
|||
|
|
Id = id;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|