using System; using System.Linq; using System.Text; using SqlSugar; namespace OpenAuth.Repository.Domain { /// /// /// [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; } /// /// Desc:标识 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } /// /// Desc:项目名称 /// Default: /// Nullable:False /// public string WorkspaceName { get; set; } /// /// Desc:项目描述 /// Default: /// Nullable:False /// public string WorkspaceDesc { get; set; } /// /// Desc:平台名称 /// Default: /// Nullable:True /// public string PlatformName { get; set; } /// /// Desc:创建时间 /// Default: /// Nullable:True /// public DateTime? CreateTime { get; set; } /// /// Desc:创建人 /// Default: /// Nullable:True /// public long? CreateId { get; set; } /// /// Desc:绑定码 /// Default: /// Nullable:True /// public string BindCode { get; set; } /// /// Desc:作业中心点经度 /// Default:0 /// Nullable:True /// public decimal? CenterLng { get; set; } /// /// Desc:作业中心点维度 /// Default: /// Nullable:True /// public decimal? CenterLat { get; set; } /// /// Desc:是否允许申请码加入项目 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsAllowRequestCode { get; set; } /// /// Desc:申请码 /// Default: /// Nullable:True /// public string RequestCode { get; set; } /// /// Desc:申请码截止时间 /// Default: /// Nullable:True /// public DateTime? RequestCodeCutOffTime { get; set; } /// /// Desc:云端阻飞 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsCloudBlockFlight { get; set; } /// /// Desc:天气预报阻飞 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsWeatherBlockFlight { get; set; } /// /// Desc:多机安全起降 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsMultipleAircraft { get; set; } /// /// Desc:机场自动录制 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsAirportRecord { get; set; } /// /// Desc:飞行器自动录制 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsAircraftRecord { get; set; } /// /// Desc:直播分享 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsLiveShare { get; set; } /// /// Desc:媒体分享 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsMediaShare { get; set; } /// /// Desc:设备直传 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsDeviceTrans { get; set; } /// /// Desc:设备直传--计划设置 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsDeicePlaneTrans { get; set; } /// /// Desc:项目状态(0进行中,1已归档) /// Default: /// Nullable:True /// public short Sate { get; set; } /// /// Desc:是否删除 /// Default:false /// Nullable:True /// [SugarColumn(DefaultValue = "false")] public bool IsDelete { get; set; } } }