You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
633 B
C#
28 lines
633 B
C#
namespace OMS.NET.DbClass
|
|
{
|
|
[Table("map_data")]
|
|
public class Map : SqlTable
|
|
{
|
|
[Column("id", true)] // Primary Key and Identity false
|
|
public string Id { get; set; }
|
|
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
|
|
[Column("description")]
|
|
public string Description { get; set; }
|
|
|
|
public Map()
|
|
{
|
|
Id = "";
|
|
Name = "";
|
|
Description = "";
|
|
}
|
|
public Map(string key, string name, string description)
|
|
{
|
|
Id = key;
|
|
Name = name;
|
|
Description = description;
|
|
}
|
|
}
|
|
} |