feature:组织实体添加区域代码
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user