添加用户简介

This commit is contained in:
橙子
2022-04-30 22:12:25 +08:00
parent 2f69e0b96c
commit 4ba696d289
3 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@@ -16,9 +16,7 @@ namespace Yi.Framework.Model.Models
this.IsDeleted = false; this.IsDeleted = false;
this.CreateTime = DateTime.Now; this.CreateTime = DateTime.Now;
} }
[JsonConverter(typeof(ValueToStringConverter))]
[Newtonsoft.Json.JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )] [SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )]
public long Id { get; set; } public long Id { get; set; }
/// <summary> /// <summary>
@@ -106,5 +104,10 @@ namespace Yi.Framework.Model.Models
///</summary> ///</summary>
[SugarColumn(ColumnName="Phone" )] [SugarColumn(ColumnName="Phone" )]
public string Phone { get; set; } public string Phone { get; set; }
/// <summary>
///
///</summary>
[SugarColumn(ColumnName="Introduction" )]
public string Introduction { get; set; }
} }
} }