Class DepartmentProps

Assembly: redb.Examples.dll

Department props for tree examples (corporate hierarchy).
Used with TreeRedbObject for organizational structure.
Similar to CategoryTestProps in ConsoleTest.

[RedbScheme("Department")]
public class DepartmentProps

Inheritance

ObjectDepartmentProps

Properties

Budget

Budget in USD.

public decimal Budget { get; set; }

Code

Department code (e.g. "IT-MSK-DEV").

public string Code { get; set; }

Description

Description (e.g. "Software development team").

public string Description { get; set; }

IsActive

Is department active?

public bool IsActive { get; set; }

Name

Department name (e.g. "IT Department Moscow").

public string Name { get; set; }