Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| RoleId | uniqueidentifier | 16 | (newid()) |
|
|
Primary key - Unique identifier for each role (GUID format) |
||
| RoleName | nvarchar | 400 | √ | null |
|
|
Role name - Descriptive name of the role (e.g., ‘Provider’, ‘Service Coordinator’, ‘Administrator’) |
|
| RoleDesc | nvarchar | 1000 | √ | null |
|
|
Role description - Detailed description of the role’s responsibilities and permissions |
|
| isLocked | bit | 1 | √ | null |
|
|
Lock status - Boolean indicating if the role is locked from modification |
|
| DisTypeID | int | 4 | √ | null |
|
|
Discipline type reference - Links to discipline type associated with this role |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK__Role__8AFACE1A1F3FE61D | Primary key | Asc | RoleId |
