添加项目文件。
This commit is contained in:
25
SamplePre.Models/Tables/QRcode.cs
Normal file
25
SamplePre.Models/Tables/QRcode.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class QRcode
|
||||
{
|
||||
public string code { get; set; }
|
||||
public string checkItem { get; set; } //检测项目
|
||||
public string jizhi { get; set; } // 基质
|
||||
public string sqno { get; set; } // 序号
|
||||
public string position { get; set; } // 试管位置
|
||||
public string stand { get; set; } // 标准
|
||||
public string user { get; set; } //录入人员
|
||||
public string inputDate { get; set; } //录入日期
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
18
SamplePre.Models/Tables/config_function.cs
Normal file
18
SamplePre.Models/Tables/config_function.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Tables
|
||||
{
|
||||
public class config_function
|
||||
{
|
||||
public int id { get; set; } // 功能ID
|
||||
public string name { get; set; } // 功能名称(如:用户管理、角色新增)
|
||||
public string code { get; set; } // 功能编码(唯一标识,如:User_Manage)
|
||||
public int parent_id { get; set; } // 父功能编码(用于构建菜单层级)
|
||||
public string description { get; set; } // 功能描述
|
||||
|
||||
}
|
||||
}
|
||||
21
SamplePre.Models/Tables/config_role.cs
Normal file
21
SamplePre.Models/Tables/config_role.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Tables
|
||||
{
|
||||
public class config_role
|
||||
{
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string id { get; set; } // 角色ID
|
||||
public string name { get; set; } // 角色名称(如:管理员、普通用户)
|
||||
public string description { get; set; } // 角色描述
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
20
SamplePre.Models/Tables/config_role_permisson.cs
Normal file
20
SamplePre.Models/Tables/config_role_permisson.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Tables
|
||||
{
|
||||
public class config_role_permisson
|
||||
{
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public int id { get; set; }
|
||||
public string role_id { get; set; }
|
||||
public int function_id { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
25
SamplePre.Models/Tables/config_user.cs
Normal file
25
SamplePre.Models/Tables/config_user.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Tables
|
||||
{
|
||||
public class config_user
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string id { get; set; } // 用户ID
|
||||
public string username { get; set; } // 用户名
|
||||
public string password { get; set; } // 密码(实际项目需加密存储)
|
||||
public bool is_enabled { get; set; } // 是否启用
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
20
SamplePre.Models/Tables/config_user_role.cs
Normal file
20
SamplePre.Models/Tables/config_user_role.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Tables
|
||||
{
|
||||
public class config_user_role
|
||||
{
|
||||
|
||||
public int id { get; set; }
|
||||
public string user_id { get; set; }
|
||||
public string role_id { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
30
SamplePre.Models/Tables/run_log_info.cs
Normal file
30
SamplePre.Models/Tables/run_log_info.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class run_log_info
|
||||
{
|
||||
public string id { get; set; }
|
||||
|
||||
public DateTime run_date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信息,警告,故障
|
||||
/// </summary>
|
||||
public string log_level { get; set; }
|
||||
|
||||
public string log_content { get; set; }
|
||||
|
||||
public string log_type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行时间
|
||||
/// </summary>
|
||||
public string run_time { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
22
SamplePre.Models/Tables/sample_exec.cs
Normal file
22
SamplePre.Models/Tables/sample_exec.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Models
|
||||
{
|
||||
public class sample_exec
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string standrad_id { get; set; }
|
||||
public string cmd_content { get; set; }
|
||||
public string cmd_content2 { get; set; }
|
||||
public string qrcodes { get; set; }
|
||||
public int sample_count { get; set; }
|
||||
public string exec_state { get; set; }
|
||||
|
||||
public DateTime exec_date { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
18
SamplePre.Models/Tables/sample_exec_detail.cs
Normal file
18
SamplePre.Models/Tables/sample_exec_detail.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Models
|
||||
{
|
||||
public class sample_exec_detail
|
||||
{
|
||||
|
||||
public int id { get; set; }
|
||||
public string master_id { get; set; }
|
||||
public string qrcode { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
26
SamplePre.Models/Tables/sample_record.cs
Normal file
26
SamplePre.Models/Tables/sample_record.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 样本记录
|
||||
/// </summary>
|
||||
public class sample_record
|
||||
{
|
||||
|
||||
public int id { get; set; }
|
||||
public string qrcode { get; set; }
|
||||
public string check_item { get; set; }
|
||||
public string jizhi { get; set; }
|
||||
public string xuhao { get; set; }
|
||||
public string standard_id { get; set; }
|
||||
public string input_user { get; set; }
|
||||
public DateTime inpu_date { get; set; }
|
||||
public string weight { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
22
SamplePre.Models/Tables/sys_action.cs
Normal file
22
SamplePre.Models/Tables/sys_action.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_action
|
||||
{
|
||||
|
||||
public string id { get; set; }
|
||||
public string action_name { get; set; }
|
||||
|
||||
public string action_unit { get; set; }
|
||||
|
||||
public string action_adress { get; set; }
|
||||
public string plc_type { get; set; }
|
||||
public string remark { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
21
SamplePre.Models/Tables/sys_action_parm_map.cs
Normal file
21
SamplePre.Models/Tables/sys_action_parm_map.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_action_parm_map
|
||||
{
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int id { get; set; }
|
||||
public string process_id { get; set; }
|
||||
public string parm_id { get; set; }
|
||||
|
||||
//public string parm_name { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
19
SamplePre.Models/Tables/sys_dict.cs
Normal file
19
SamplePre.Models/Tables/sys_dict.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_dict
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string data_type { get; set; }
|
||||
public string data_value { get; set; }
|
||||
|
||||
public int class_id { get;set; }
|
||||
|
||||
public string remark { get; set; }
|
||||
}
|
||||
}
|
||||
18
SamplePre.Models/Tables/sys_dict_class.cs
Normal file
18
SamplePre.Models/Tables/sys_dict_class.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Models
|
||||
{
|
||||
public class sys_dict_class
|
||||
{
|
||||
|
||||
public int id { get; set; }
|
||||
public string dict_type { get; set; }
|
||||
public string remark { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
25
SamplePre.Models/Tables/sys_parm.cs
Normal file
25
SamplePre.Models/Tables/sys_parm.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_parm
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
//[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public string id { get; set; }
|
||||
public string title { get; set; }
|
||||
public string unit { get; set; }
|
||||
public string data_type { get; set; }
|
||||
public string data_value { get; set; }
|
||||
|
||||
public string plc_type { get; set; }
|
||||
|
||||
public string param_type { get;set; }
|
||||
|
||||
}
|
||||
}
|
||||
19
SamplePre.Models/Tables/sys_standard.cs
Normal file
19
SamplePre.Models/Tables/sys_standard.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_standard
|
||||
{
|
||||
|
||||
public string id { get; set; }
|
||||
public string sample_id { get; set; }
|
||||
|
||||
//public string sample_name { get; set; }
|
||||
public string standard_name { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
20
SamplePre.Models/Tables/sys_standard_action.cs
Normal file
20
SamplePre.Models/Tables/sys_standard_action.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_standard_action
|
||||
{
|
||||
|
||||
|
||||
public string id { get; set; }
|
||||
public string standard_id { get; set; }
|
||||
public string process_id { get; set; }
|
||||
//public string process_name { get; set; }
|
||||
public int process_no { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
31
SamplePre.Models/Tables/sys_standard_action_parm.cs
Normal file
31
SamplePre.Models/Tables/sys_standard_action_parm.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class sys_standard_action_parm
|
||||
{
|
||||
//[SugarColum(IsPrimaryKey = true)]
|
||||
public string id { get; set; }
|
||||
|
||||
public string standard_id { get; set; }
|
||||
|
||||
public string action_id { get; set; }
|
||||
|
||||
public int action_seqno { get; set; }
|
||||
|
||||
public string parm_id { get; set; }
|
||||
|
||||
public int parm_seqno { get; set; }
|
||||
|
||||
public int standard_process_id { get; set; }
|
||||
|
||||
public string data_value { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
24
SamplePre.Models/Tables/tube_input.cs
Normal file
24
SamplePre.Models/Tables/tube_input.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Models
|
||||
{
|
||||
public class tube_input
|
||||
{
|
||||
public string qrcode { get; set; }
|
||||
public string item_name { get; set; }
|
||||
public string tube_type { get; set; }
|
||||
public string standrad_id { get; set; }
|
||||
public string standrad { get; set; }
|
||||
public string input_user { get; set; }
|
||||
public DateTime input_date { get; set; }
|
||||
public string weight { get; set; }
|
||||
public int tube_count { get; set; }
|
||||
public string bach_no { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user