Initial commit
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace RobotNet10.RobotApp.Data;
|
||||
|
||||
#nullable disable
|
||||
|
||||
[Table("DockStationConfig")]
|
||||
public class DockStationConfig
|
||||
{
|
||||
[Column("Id", TypeName = "uniqueidentifier")]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Key]
|
||||
[Required]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Column("StationId", TypeName = "nvarchar(128)")]
|
||||
[Required]
|
||||
[MaxLength(128)]
|
||||
public string StationId { get; set; }
|
||||
|
||||
[Column("ConfigName", TypeName = "nvarchar(64)")]
|
||||
[MaxLength(100)]
|
||||
public string ConfigName { get; set; }
|
||||
|
||||
[Column("Description", TypeName = "ntext")]
|
||||
[MaxLength(500)]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Column("X", TypeName = "double")]
|
||||
public double X { get; set; }
|
||||
|
||||
[Column("Y", TypeName = "double")]
|
||||
public double Y { get; set; }
|
||||
|
||||
[Column("Yaw", TypeName = "double")]
|
||||
public double Yaw { get; set; }
|
||||
|
||||
[Column("Width", TypeName = "double")]
|
||||
public double Width { get; set; }
|
||||
|
||||
[Column("Length", TypeName = "double")]
|
||||
public double Length { get; set; }
|
||||
|
||||
[Column("CreatedAt", TypeName = "datetime2")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[Column("UpdatedAt", TypeName = "datetime2")]
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
|
||||
[Column("IsActive", TypeName = "bit")]
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
public ICollection<DockStationMarkerEntry> MarkerEntries { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user