From c218f7fadbef75a948e94ac3fd3635a31294cbdd Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 07 六月 2021 17:34:49 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/Model/zhengcaioaContext.cs |   54 +++++++++++++++++++++++++++++++++---------------------
 1 files changed, 33 insertions(+), 21 deletions(-)

diff --git a/zhengcaioa/Model/zhengcaioaContext.cs b/zhengcaioa/Model/zhengcaioaContext.cs
index ee8df02..90ed301 100644
--- a/zhengcaioa/Model/zhengcaioaContext.cs
+++ b/zhengcaioa/Model/zhengcaioaContext.cs
@@ -210,9 +210,9 @@
 
             modelBuilder.Entity<AdmAttendanceRule>(entity =>
             {
-                entity.HasNoKey();
-
                 entity.ToTable("ADM_AttendanceRules");
+
+                entity.Property(e => e.Id).HasMaxLength(50);
 
                 entity.Property(e => e.Absenteeism)
                     .HasColumnType("decimal(18, 2)")
@@ -247,10 +247,6 @@
                     .IsRequired()
                     .HasMaxLength(50)
                     .HasColumnName("holiday");
-
-                entity.Property(e => e.Id)
-                    .IsRequired()
-                    .HasMaxLength(50);
 
                 entity.Property(e => e.LatePayment1)
                     .HasColumnType("decimal(18, 2)")
@@ -340,21 +336,19 @@
                 entity.Property(e => e.Weekend1).HasColumnName("weekend");
 
                 entity.Property(e => e.WorkingEnd)
-                    .IsRequired()
                     .HasMaxLength(50)
                     .HasColumnName("working_end");
 
                 entity.Property(e => e.WorkingStart)
-                    .IsRequired()
                     .HasMaxLength(50)
                     .HasColumnName("working_start");
             });
 
             modelBuilder.Entity<AdmAttendanceRulesDtl>(entity =>
             {
-                entity.HasNoKey();
-
                 entity.ToTable("ADM_AttendanceRules_dtl");
+
+                entity.Property(e => e.Id).HasMaxLength(50);
 
                 entity.Property(e => e.Creater)
                     .IsRequired()
@@ -366,10 +360,6 @@
                     .HasColumnType("datetime")
                     .HasColumnName("createtime")
                     .HasDefaultValueSql("(getdate())");
-
-                entity.Property(e => e.Id)
-                    .IsRequired()
-                    .HasMaxLength(50);
 
                 entity.Property(e => e.Modifier)
                     .IsRequired()
@@ -385,7 +375,6 @@
                 entity.Property(e => e.Name).HasMaxLength(200);
 
                 entity.Property(e => e.Pid)
-                    .IsRequired()
                     .HasMaxLength(50)
                     .HasColumnName("pid");
 
@@ -396,14 +385,12 @@
                     .HasDefaultValueSql("('A')");
 
                 entity.Property(e => e.ValueEnd)
-                    .HasColumnType("date")
-                    .HasColumnName("value_end")
-                    .HasDefaultValueSql("(getdate())");
+                    .HasMaxLength(50)
+                    .HasColumnName("value_end");
 
                 entity.Property(e => e.ValueStart)
-                    .HasColumnType("date")
-                    .HasColumnName("value_start")
-                    .HasDefaultValueSql("(getdate())");
+                    .HasMaxLength(50)
+                    .HasColumnName("value_start");
             });
 
             modelBuilder.Entity<AdmBreakPrecedent>(entity =>
@@ -4377,6 +4364,11 @@
                     .HasMaxLength(50)
                     .HasColumnName("sex");
 
+                entity.Property(e => e.ShenheStatus)
+                    .HasMaxLength(1)
+                    .HasColumnName("shenhe_status")
+                    .HasDefaultValueSql("('D')");
+
                 entity.Property(e => e.Sort)
                     .HasMaxLength(50)
                     .IsUnicode(false)
@@ -4384,6 +4376,26 @@
 
                 entity.Property(e => e.TitileCerti).HasMaxLength(200);
 
+                entity.Property(e => e.TitileCerti1).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti10).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti2).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti3).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti4).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti5).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti6).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti7).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti8).HasMaxLength(200);
+
+                entity.Property(e => e.TitileCerti9).HasMaxLength(200);
+
                 entity.Property(e => e.Wechat)
                     .HasMaxLength(20)
                     .HasColumnName("wechat");

--
Gitblit v1.9.1