feature:组织实体添加区域代码

This commit is contained in:
2021-04-26 13:11:02 +08:00
parent 19aeb3b202
commit 0822b56822
2 changed files with 21 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Ewide.Core.Entity;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
@@ -60,12 +61,20 @@ namespace Ewide.Core
[Comment("备注")]
public string Remark { get; set; }
/// <summary>
/// 状态(字典 0正常 1停用 2删除
/// </summary>
[Comment("状态")]
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
[Comment("组织所在区域代码")]
public string AreaNumberCode { get; set; }
/// <summary>
/// 一对一 一个组织对应一个区域代码
/// </summary>
public AreaNumber AreaNumber { get; set; }
/// <summary>
/// 多对多(用户)
/// </summary>