using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("lasa_workspace")]
    public partial class LasaWorkspace
    {
        public LasaWorkspace()
        {
            // 初始化所有bool字段为false
            IsAllowRequestCode = false;
            IsCloudBlockFlight = false;
            IsWeatherBlockFlight = false;
            IsMultipleAircraft = false;
            IsAirportRecord = false;
            IsAircraftRecord = false;
            IsLiveShare = false;
            IsMediaShare = false;
            IsDeviceTrans = false;
            IsDeicePlaneTrans = false;
            IsDelete = false;
        }
        /// <summary>
        /// Desc:标识
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// Desc:项目名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string WorkspaceName { get; set; }

        /// <summary>
        /// Desc:项目描述
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string WorkspaceDesc { get; set; }

        /// <summary>
        /// Desc:平台名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PlatformName { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? CreateId { get; set; }

        /// <summary>
        /// Desc:绑定码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string BindCode { get; set; }

        /// <summary>
        /// Desc:作业中心点经度
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public decimal? CenterLng { get; set; }

        /// <summary>
        /// Desc:作业中心点维度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? CenterLat { get; set; }

        /// <summary>
        /// Desc:是否允许申请码加入项目
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsAllowRequestCode { get; set; }

        /// <summary>
        /// Desc:申请码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RequestCode { get; set; }

        /// <summary>
        /// Desc:申请码截止时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RequestCodeCutOffTime { get; set; }

        /// <summary>
        /// Desc:云端阻飞
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsCloudBlockFlight { get; set; }

        /// <summary>
        /// Desc:天气预报阻飞
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsWeatherBlockFlight { get; set; }

        /// <summary>
        /// Desc:多机安全起降
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsMultipleAircraft { get; set; }

        /// <summary>
        /// Desc:机场自动录制
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsAirportRecord { get; set; }

        /// <summary>
        /// Desc:飞行器自动录制
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsAircraftRecord { get; set; }

        /// <summary>
        /// Desc:直播分享
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsLiveShare { get; set; }

        /// <summary>
        /// Desc:媒体分享
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsMediaShare { get; set; }

        /// <summary>
        /// Desc:设备直传
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsDeviceTrans { get; set; }

        /// <summary>
        /// Desc:设备直传--计划设置
        /// Default:false
        /// Nullable:True
        /// </summary>           
        [SugarColumn(DefaultValue = "false")]
        public bool IsDeicePlaneTrans { get; set; }

        /// <summary>
        /// Desc:项目状态（0进行中，1已归档）
        /// Default:
        /// Nullable:True
        /// </summary>           
        public short Sate { get; set; }


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

    }
}
