50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System;
|
|
|
|
namespace DTS.Common.Interface.TestMetaData
|
|
{
|
|
/// <summary>
|
|
/// Interface describing a record in the CustomerDetails table in the Db
|
|
/// </summary>
|
|
public interface ICustomerDetailsDbRecord
|
|
{
|
|
[Key]
|
|
[Column("CustomerId")]
|
|
/// <summary>
|
|
/// The id/key of the CustomerDetails record in the db
|
|
/// </summary>
|
|
int CustomerId { get; set; }
|
|
|
|
[Column("Name")]
|
|
string Name { get; set; }
|
|
|
|
[Column("CustomerName")]
|
|
string CustomerName { get; set; }
|
|
|
|
[Column("CustomerTestRefNumber")]
|
|
string CustomerTestRefNumber { get; set; }
|
|
|
|
[Column("ProjectRefNumber")]
|
|
string ProjectRefNumber { get; set; }
|
|
|
|
[Column("CustomerOrderNumber")]
|
|
string CustomerOrderNumber { get; set; }
|
|
|
|
[Column("CustomerCostUnit")]
|
|
string CustomerCostUnit { get; set; }
|
|
|
|
[Column("LocalOnly")]
|
|
bool LocalOnly { get; set; }
|
|
|
|
[Column("LastModified")]
|
|
DateTime LastModified { get; set; }
|
|
|
|
[Column("LastModifiedBy")]
|
|
string LastModifiedBy { get; set; }
|
|
|
|
[Column("Version")]
|
|
int Version { get; set; }
|
|
}
|
|
}
|