Files
2026-05-15 23:22:48 +08:00

92 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此Model
*/
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;
using SqlSugar;
using VolPro.Entity.SystemModels;
namespace VolPro.Entity.DomainModels
{
[Entity(TableCnName = "航点",TableName = "warehouse_planeflypoint",DBServer = "ServiceDbContext")]
public partial class warehouse_planeflypoint:ServiceEntity
{
/// <summary>
///航点编号
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Key]
[Display(Name ="航点编号")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int Id { get; set; }
/// <summary>
///无人机ID
/// </summary>
[Display(Name ="无人机ID")]
[Column(TypeName="int")]
[Editable(true)]
public int? PlaneId { get; set; }
/// <summary>
///航点序号
/// </summary>
[Display(Name ="航点序号")]
[Column(TypeName="int")]
[Editable(true)]
public int? FlyPointIndex { get; set; }
/// <summary>
///航点名称
/// </summary>
[Display(Name ="航点名称")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string FlyPointName { get; set; }
/// <summary>
///经度
/// </summary>
[Display(Name ="经度")]
[DisplayFormat(DataFormatString="10,6")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? Longitude { get; set; }
/// <summary>
///玮度
/// </summary>
[Display(Name ="玮度")]
[DisplayFormat(DataFormatString="10,6")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? Latitude { get; set; }
/// <summary>
///停留时间(分钟)
/// </summary>
[Display(Name ="停留时间(分钟)")]
[Column(TypeName="int")]
[Editable(true)]
public int? StayTime { get; set; }
/// <summary>
///高度(米)
/// </summary>
[Display(Name ="高度(米)")]
[Column(TypeName="int")]
[Editable(true)]
public int? Altitude { get; set; }
}
}