using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

public class CashTransaction : TenantEntity
{
    public string ShiftId { get; set; } = string.Empty;
    public string? BranchId { get; set; }
    public CashTransactionType Type { get; set; }
    public PaymentMethod Method { get; set; }
    public decimal Amount { get; set; }
    public string? ReferenceId { get; set; }
    public string? Note { get; set; }
    public string CreatedByUserId { get; set; } = string.Empty;

    public Shift Shift { get; set; } = null!;
    public Branch? Branch { get; set; }
}
