using SqlSugar;
using System;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 大飞机信息
    /// </summary>
    [SugarTable("lasa_aircraft")]
    public class LasaAircraft
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "Id")]
        public string Id { get; set; }

        /// <summary>
        /// 无人机名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 固件版本
        /// </summary>
        public string FirmwareVersion { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// sn码
        /// </summary>
        public string Sn { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string DevicePicUrl { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(DefaultValue = "false")]
        public bool IsDelete { get; set; } = false;

        /// <summary>
        /// 项目id
        /// </summary>
        public string WorkSpaceId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
