fa485d902b
* Added first centralized database config and added machine self-registration into db * Fix database migration with new database * Refactor
23 lines
543 B
C#
23 lines
543 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Step.Model.DatabaseModels
|
|
{
|
|
[Table("machine")]
|
|
public class MachineModel
|
|
{
|
|
[Key]
|
|
[Column("id")]
|
|
public int MachineId { get; set; }
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
[Column("unique_id")]
|
|
public string UniqueId { get; set; }
|
|
}
|
|
}
|