c775146b64
Implementation A partner, not just software HexDive Technologies' local team handles setup, data migration, training and ongoing support — in Sinhala, Tamil and English. [confirm] 1 Discovery Map your network, products and processes. 2 Configuration Set up depots, pricing, schemes, routes and users. 3 Migration & training Move your data and train every team. 4 Go-live & support Dedicated account manager and local support desk.
19 lines
599 B
C#
19 lines
599 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Distribution.Models
|
|
{
|
|
/// <summary>
|
|
/// Two-level tree: top-level categories (e.g. "Salaries", "Utilities") and
|
|
/// child "titles" (e.g. "Bonus", "Electricity"). Expenses link to a leaf (Title).
|
|
/// </summary>
|
|
public class ExpenseCategory : Template
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Code { get; set; }
|
|
|
|
public Guid? FK_ParentCategoryId { get; set; }
|
|
[ForeignKey("FK_ParentCategoryId")]
|
|
public ExpenseCategory? Parent { get; set; }
|
|
}
|
|
}
|