using SqlSugar; using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Txgy.RBS.DbModel.Models { /// /// /// public class project_info { /// /// Desc: /// Default: /// Nullable:True /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int id { get; set; } public int project_id { get; set; } /// /// Desc: /// Default: /// Nullable:False /// public string project_name { get; set; } /// /// Desc: /// Default:1 /// Nullable:False /// public int moni_layer { get; set; } /// /// Desc: /// Default:1 /// Nullable:False /// public int moni_num { get; set; } /// /// Desc: /// Default:"2024-04-01" /// Nullable:False /// public string moni_date { get; set; } /// /// Desc: /// Default:YA /// Nullable:False /// public string network { get; set; } /// /// Desc: /// Default:"06" /// Nullable:False /// public string location { get; set; } /// /// Desc: /// Default:"SHZ:SHN:SHE" /// Nullable:False /// public string channels { get; set; } /// /// Desc: /// Default:3837 /// Nullable:False /// public double xmin { get; set; } /// /// Desc: /// Default:3838 /// Nullable:False /// public double xmax { get; set; } /// /// Desc: /// Default:402 /// Nullable:False /// public double ymin { get; set; } /// /// Desc: /// Default:403 /// Nullable:False /// public double ymax { get; set; } /// /// Desc: /// Default:200 /// Nullable:False /// public double zmin { get; set; } /// /// Desc: /// Default:900 /// Nullable:False /// public double zmax { get; set; } /// /// Desc: /// Default:0 /// Nullable:False /// public int local_save_result { get; set; } /// /// Desc: /// Default:result /// Nullable:False /// public string save_result_path { get; set; } /// /// Desc: /// Default:0 /// Nullable:False /// public int local_save_waves { get; set; } /// /// Desc: /// Default:wavesdata /// Nullable:False /// public string save_waves_path { get; set; } /// /// Desc: /// Default:1 /// Nullable:False /// public int send_redis { get; set; } /// /// Desc: /// Default:"127.0.0.1:1883" /// Nullable:False /// public string mqtt_server { get; set; } /// /// Desc: /// Default:0 /// Nullable:False /// public int push_wx { get; set; } /// /// Desc: /// Default:- 1.0 /// Nullable:False /// public double push_wx_value { get; set; } /// /// Desc: /// Default:8 /// Nullable:False /// public int push_wx_area_id { get; set; } /// /// Desc: /// Default:2 /// Nullable:False /// public int push_wx_company_id { get; set; } [Navigate(NavigateType.OneToOne, nameof(project_id))] // [SugarColumn(IsIgnore = true)] public station_file station_file { get; set; } [Navigate(NavigateType.OneToOne, nameof(project_id))] public time_tab time_tab { get; set; } } }