2026-01-20 16:28:55 +08:00

45 lines
1.3 KiB
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AiSportsMicrospaceDB.Entities
{
[Table("GroupPoints")]
public class GroupPoints
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
///设备编号
/// </summary>
[Display(Name = "设备编号")]
[Comment("设备编号")]
[Column(TypeName = "nvarchar(100)")]
public string Code { get; set; }
public Point Point1 { get; set; }
public Point Point2 { get; set; }
public Point Point3 { get; set; }
public Point Point4 { get; set; }
public Point Point5 { get; set; }
public Point Point6 { get; set; }
public Point? Point7 { get; set; }
public Point? Point8 { get; set; }
public Point? Point9 { get; set; }
public Point? Point10 { get; set; }
public Point? ControlPoint { get; set; }
public Point? AreaSize { get; set; }
}
}