From 11e11a51839529b17f70927524e086e90adf692d Mon Sep 17 00:00:00 2001 From: LR-20210131IOQH\Administrator <jackcold@163.com> Date: 星期二, 10 八月 2021 15:31:19 +0800 Subject: [PATCH] 工资核对修改 --- zhengcaioa/Model/zhengcaioaContext.cs | 33 +++++++++++++++++++++++++++------ 1 files changed, 27 insertions(+), 6 deletions(-) diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs index be4dbef..e283224 100644 --- a/zhengcaioa/Model/zhengcaioaContext.cs +++ b/zhengcaioa/Model/zhengcaioaContext.cs @@ -16,6 +16,15 @@ : base(options) { } + + public virtual DbSet<SimBind> SimBind { get; set; } + public virtual DbSet<SimBindView> SimBindView { get; set; } + public virtual DbSet<SimCost> SimCost { get; set; } + public virtual DbSet<SimCostView> SimCostView { get; set; } + public virtual DbSet<HrSalaryAppeal> HrSalaryAppeal { get; set; } + public virtual DbSet<SimCostYearView> SimCostYearView { get; set; } + + public virtual DbSet<AdmAskLeave> AdmAskLeaves { get; set; } public virtual DbSet<AdmAskLeaveOff> AdmAskLeaveOffs { get; set; } public virtual DbSet<AdmAttendance> AdmAttendances { get; set; } @@ -335,10 +344,6 @@ .HasMaxLength(50) .HasColumnName("attendance_id"); - entity.Property(e => e.Chidaofenzhong) - .HasColumnType("decimal(18, 4)") - .HasColumnName("chidaofenzhong"); - entity.Property(e => e.Creater) .IsRequired() .HasMaxLength(50) @@ -349,6 +354,10 @@ .HasColumnType("datetime") .HasColumnName("createtime") .HasDefaultValueSql("(getdate())"); + + entity.Property(e => e.Iswork) + .HasMaxLength(1) + .HasColumnName("iswork"); entity.Property(e => e.Kuanggongtianshu) .HasColumnType("decimal(18, 4)") @@ -387,13 +396,25 @@ .HasColumnType("datetime") .HasDefaultValueSql("(getdate())"); + entity.Property(e => e.Shangwuchidaofenzhong) + .HasColumnType("decimal(18, 4)") + .HasColumnName("shangwuchidaofenzhong"); + + entity.Property(e => e.Shangwuzaotuifenzhong) + .HasColumnType("decimal(18, 4)") + .HasColumnName("shangwuzaotuifenzhong"); + entity.Property(e => e.Xiaojia) .HasColumnType("decimal(18, 4)") .HasColumnName("xiaojia"); - entity.Property(e => e.Zaotuifenzhong) + entity.Property(e => e.Xiawuchidaofenzhong) .HasColumnType("decimal(18, 4)") - .HasColumnName("zaotuifenzhong"); + .HasColumnName("xiawuchidaofenzhong"); + + entity.Property(e => e.Xiawuzaotuifenzhong) + .HasColumnType("decimal(18, 4)") + .HasColumnName("xiawuzaotuifenzhong"); }); modelBuilder.Entity<AdmAttendanceRule>(entity => -- Gitblit v1.9.1