fix birthday nullable

This commit is contained in:
2025-02-08 17:23:40 +08:00
parent 5746649e06
commit 565692b045
6 changed files with 20 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ public class GainfoEntity : SugarBaseEntity
/// 生日
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "生日")]
public DateTime Birthday { get; set; }
public DateTime? Birthday { get; set; }
/// <summary>
/// 身份证地址

View File

@@ -26,7 +26,7 @@ namespace Dlhis.Entity.Basic.Entity
public string idno { get; set; }
public string native { get; set; }
public string sex { get; set; }
public DateTime birthday { get; set; }
public DateTime? birthday { get; set; }
public string address { get; set; }
public string postcode { get; set; }