Commit 9161b581 by 李承祥

新增实体类

parent 07bdb827
...@@ -32,6 +32,8 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options) ...@@ -32,6 +32,8 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
public virtual DbSet<ag_temp> ag_temp { get; set; } public virtual DbSet<ag_temp> ag_temp { get; set; }
/// <summary> 二次绩效模板项 </summary> /// <summary> 二次绩效模板项 </summary>
public virtual DbSet<ag_tempitem> ag_tempitem { get; set; } public virtual DbSet<ag_tempitem> ag_tempitem { get; set; }
/// <summary> </summary>
public virtual DbSet<ag_usetemp> ag_usetemp { get; set; }
/// <summary> 二次绩效工作量绩效 </summary> /// <summary> 二次绩效工作量绩效 </summary>
public virtual DbSet<ag_workload> ag_workload { get; set; } public virtual DbSet<ag_workload> ag_workload { get; set; }
/// <summary> 考核类别 </summary> /// <summary> 考核类别 </summary>
......
...@@ -47,12 +47,17 @@ public class ag_fixatitem ...@@ -47,12 +47,17 @@ public class ag_fixatitem
public Nullable<decimal> ItemValue { get; set; } public Nullable<decimal> ItemValue { get; set; }
/// <summary> /// <summary>
/// 系数
/// </summary>
public Nullable<decimal> FactorValue { get; set; }
/// <summary>
/// 排序 /// 排序
/// </summary> /// </summary>
public Nullable<decimal> Sort { get; set; } public Nullable<decimal> Sort { get; set; }
/// <summary> /// <summary>
/// 字段类型 1 顶部概况 2 表格固定 /// 字段类型 1 顶部概况 2 表格固定 3 工作量
/// </summary> /// </summary>
public Nullable<int> Type { get; set; } public Nullable<int> Type { get; set; }
......
//-----------------------------------------------------------------------
// <copyright file=" ag_usetemp.cs">
// * FileName: .cs
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Performance.EntityModels
{
/// <summary>
///
/// </summary>
[Table("ag_usetemp")]
public class ag_usetemp
{
/// <summary>
///
/// </summary>
[Key]
public int Id { get; set; }
/// <summary>
///
/// </summary>
public Nullable<int> HospitalId { get; set; }
/// <summary>
///
/// </summary>
public string Department { get; set; }
/// <summary>
///
/// </summary>
public string UnitType { get; set; }
/// <summary>
///
/// </summary>
public Nullable<int> UseTempId { get; set; }
}
}
...@@ -22,14 +22,19 @@ public class ag_workload ...@@ -22,14 +22,19 @@ public class ag_workload
public int Id { get; set; } public int Id { get; set; }
/// <summary> /// <summary>
/// 绩效ID /// 医院ID
/// </summary> /// </summary>
public Nullable<int> AllotId { get; set; } public Nullable<int> HospitalId { get; set; }
/// <summary> /// <summary>
/// 二次绩效ID /// 科室
/// </summary> /// </summary>
public Nullable<int> SecondId { get; set; } public string Department { get; set; }
/// <summary>
///
/// </summary>
public string UnitType { get; set; }
/// <summary> /// <summary>
/// 工作量考核项ID /// 工作量考核项ID
......
//-----------------------------------------------------------------------
// <copyright file=" ag_usetemp.cs">
// * FileName: ag_usetemp.cs
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// ag_usetemp Repository
/// </summary>
public partial class PerforAgusetempRepository : PerforRepository<ag_usetemp>
{
public PerforAgusetempRepository(PerformanceDbContext context) : base(context)
{
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment