45 lines
2.7 KiB
Markdown
45 lines
2.7 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.CommonCore/Interface/TestMetaData/ITestEngineerDetailsDbRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestMetaData/ICustomerDetailsDbRecord.cs
|
||
|
|
- Common/DTS.CommonCore/Interface/TestMetaData/ILabratoryDetailsDbRecord.cs
|
||
|
|
generated_at: "2026-04-17T16:04:06.110263+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "cbd2901590f28007"
|
||
|
|
---
|
||
|
|
|
||
|
|
# TestMetaData
|
||
|
|
|
||
|
|
**Purpose:**
|
||
|
|
This module provides interfaces that describe the database records for test metadata, specifically for test engineers, customers, and laboratories. These interfaces define the data contracts for entities stored in the `TestEngineerDetails`, `CustomerDetails`, and `LabratoryDetails` database tables, including contact information, reference numbers, and auditing fields. They are decorated with `System.ComponentModel.DataAnnotations` attributes to specify database column mappings and key constraints.
|
||
|
|
|
||
|
|
**Public Interface:**
|
||
|
|
|
||
|
|
* `ITestEngineerDetailsDbRecord`:
|
||
|
|
* `int TestEngineerId { get; set; }`: Primary key for the record (annotated with `[Key]`, `[Column("TestEngineerId")]`).
|
||
|
|
* `string Name { get; set; }`: Name field.
|
||
|
|
* `string TestEngineerName { get; set; }`: Engineer's name.
|
||
|
|
* `string TestEngineerPhone { get; set; }`: Phone number.
|
||
|
|
* `string TestEngineerFax { get; set; }`: Fax number.
|
||
|
|
* `string TestEngineerEmail { get; set; }`: Email address.
|
||
|
|
* `bool LocalOnly { get; set; }`: Flag indicating if the record is local only.
|
||
|
|
* `DateTime LastModified { get; set; }`: Timestamp of last modification.
|
||
|
|
* `string LastModifiedBy { get; set; }`: User who last modified the record.
|
||
|
|
* `int Version { get; set; }`: Version number for the record.
|
||
|
|
|
||
|
|
* `ICustomerDetailsDbRecord`:
|
||
|
|
* `int CustomerId { get; set; }`: Primary key for the record (annotated with `[Key]`, `[Column("CustomerId")]`).
|
||
|
|
* `string Name { get; set; }`: Name field.
|
||
|
|
* `string CustomerName { get; set; }`: Customer's name.
|
||
|
|
* `string CustomerTestRefNumber { get; set; }`: Customer test reference number.
|
||
|
|
* `string ProjectRefNumber { get; set; }`: Project reference number.
|
||
|
|
* `string CustomerOrderNumber { get; set; }`: Customer order number.
|
||
|
|
* `string CustomerCostUnit { get; set; }`: Cost unit.
|
||
|
|
* `bool LocalOnly { get; set; }`: Flag indicating if the record is local only.
|
||
|
|
* `DateTime LastModified { get; set; }`: Timestamp of last modification.
|
||
|
|
* `string LastModifiedBy { get; set; }`: User who last modified the record.
|
||
|
|
* `int Version { get; set; }`: Version number for the record.
|
||
|
|
|
||
|
|
* `ILabratoryDetailsDbRecord`:
|
||
|
|
* `int LabratoryId { get; set; }`: Primary key for the record (annotated with `[Key]`, `[Column("LabratoryId")]`). Note: "Labratory
|