Update Xml with CS

This commit is contained in:
2021-05-11 17:59:27 +08:00
parent 982b79bbb0
commit fc3f3bec48
24 changed files with 310 additions and 470 deletions

View File

@@ -2,6 +2,7 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Ewide.Core
{
@@ -15,10 +16,12 @@ namespace Ewide.Core
[Comment("用户Id")]
[Column("SysUserId", TypeName = "varchar(36)")]
public string SysUserId { get; set; }
[XmlIgnore]
public SysUser SysUser { get; set; }
[Comment("系统使用的区域代码")]
[MaxLength(10)]
public string AreaCode { get; set; }
[XmlIgnore]
public SysAreaCode Area { get; set; }
}
}