Files
zsxt_nbzs_h5/Api/Ewide.Core/Entity/SysRoleArea.cs

31 lines
852 B
C#

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core
{
[Table("sys_role_area")]
[Comment("角色区域自定义数据")]
public class SysRoleArea: IEntity
{
/// <summary>
/// 角色Id
/// </summary>
[Comment("角色Id")]
[Column("SysRoleId", TypeName = "varchar(36)")]
public string SysRoleId { get; set; }
public SysRole SysRole { get; set; }
[Comment("系统使用的区域代码")]
[MaxLength(10)]
public string AreaNumberCode { get; set; }
public SysAreaCode AreaCode { get; set; }
}
}