mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 03:14:45 +08:00
全面修改Id为Guid类型,为2.0版做准备
This commit is contained in:
@@ -7,33 +7,26 @@
|
||||
// Author:Yubao Li
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类表
|
||||
/// </summary>
|
||||
public partial class Category
|
||||
public partial class Category :Entity
|
||||
{
|
||||
public Category()
|
||||
{
|
||||
this.Id= 0;
|
||||
this.CascadeId= string.Empty;
|
||||
this.Name= string.Empty;
|
||||
this.ParentId= 0;
|
||||
this.Status= 0;
|
||||
this.SortNo= 0;
|
||||
this.RootKey= string.Empty;
|
||||
this.RootName= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分类表ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 节点语义ID
|
||||
/// </summary>
|
||||
@@ -42,10 +35,6 @@ namespace OpenAuth.Domain
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 父节点流水号
|
||||
/// </summary>
|
||||
public int ParentId { get; set; }
|
||||
/// <summary>
|
||||
/// 当前状态
|
||||
/// </summary>
|
||||
@@ -62,6 +51,10 @@ namespace OpenAuth.Domain
|
||||
/// 分类所属科目名称
|
||||
/// </summary>
|
||||
public string RootName { get; set; }
|
||||
/// <summary>
|
||||
/// 父节点流水号
|
||||
/// </summary>
|
||||
public System.Guid? ParentId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user