Commit 40e5f020 by zry

run

parent 878d9d79
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.EntityModels
{
public class Allot
{
public int ID { get; set; }
public int HospitalId { get; set; }
public int Year { get; set; }
public int Month { get; set; }
public decimal AllocationFee { get; set; }
public DateTime CreateDatetime { get; set; }
public string Path { get; set; }
public DateTime UploadDate { get; set; }
public int States { get; set; }
}
}
using JetBrains.Annotations; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata;
using Performance.EntityModels;
using System; using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.EntityModels namespace Performance.EntityModels
{ {
public class PerformanceDbContext : DbContext public partial class PerformanceDbContext : DbContext
{ {
public PerformanceDbContext(DbContextOptions options) : base(options) public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
: base(options)
{ {
} }
public DbSet<Sys_User> Sys_User { get; set; } public virtual DbSet<Sys_User> Sys_User { get; set; }
} }
} }
using System; using System;
using System.Collections.Generic;
namespace Performance.EntityModels namespace Performance.EntityModels
{ {
public class Sys_User public partial class Sys_User
{ {
public int ID { get; set; } public int ID { get; set; }
public DateTime? CreatDate { get; set; }
public int? CreateUser { get; set; }
public string RealName { get; set; } public string RealName { get; set; }
public string Mobile { get; set; }
public string Login { get; set; } public string Login { get; set; }
public string Password { get; set; } public string Password { get; set; }
public string Mail { get; set; } public string Mail { get; set; }
public string Mobile { get; set; } public int? States { get; set; }
public int States { get; set; }
} }
} }
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.EntityModels
{
public class Im_Expend
{
public int ID { get; set; }
public int SheetID { get; set; }
public string StandardName { get; set; }
public string Department { get; set; }
public string TypeName { get; set; }
public string ParentType { get; set; }
public decimal CellValue { get; set; }
public string Annotation { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.EntityModels
{
public class Im_SheetData
{
public int ID { get; set; }
public int AllotID { get; set; }
public string SheetName { get; set; }
public int SheetType { get; set; }
}
}
...@@ -12,11 +12,6 @@ ...@@ -12,11 +12,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.EntityModels
{
public class Sys_Hosptail
{
public int ID { get; set; }
public string HospitalName { get; set; }
public string ShortName { get; set; }
public string AreaCode { get; set; }
public int HospitalLevel { get; set; }
public int HospitalType { get; set; }
public int States { get; set; }
}
}
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