using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("lasa_droneport")]
    public class LasaDronePort
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }                  
        public string Name { get; set; }                
        public string TypeId { get; set; }             
        public string SerialNumber { get; set; }       
        public string FirmwareVersion { get; set; }    
        public int BindStatus { get; set; }            
        public DateTime? UpdateTime { get; set; }
        public DateTime? CreateTime { get; set; }
        public string OrgId { get; set; }                
        public string Sn { get; set; }                 
        public string DevicePicUrl { get; set; }       
        public string Did { get; set; }
        /// <summary>
        /// Desc:是否删除	
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsDelete { get; set; }
        public string WorkSpaceId { get; set; }
        public string GateWay { get; set; }
        [Navigate(NavigateType.OneToMany, nameof(LasaUav.PId))]
        public List<LasaUav> UavList { get; set; }
    }
}
