全面修改Id为Guid类型,为2.0版做准备

This commit is contained in:
yubaolee
2016-09-02 18:05:17 +08:00
parent a8fd59e247
commit 574f5f9e1f
327 changed files with 10071 additions and 18206 deletions

View File

@@ -1,4 +1,5 @@
using Infrastructure;
using System;
using Infrastructure;
using OpenAuth.Domain;
using System.Collections.Generic;
@@ -10,7 +11,7 @@ namespace OpenAuth.App.ViewModel
/// ID
/// </summary>
/// <returns></returns>
public int Id { get; set; }
public Guid Id { get; set; }
/// <summary>
/// 组织名称
@@ -28,7 +29,7 @@ namespace OpenAuth.App.ViewModel
/// 父节点流水号
/// </summary>
/// <returns></returns>
public int ParentId { get; set; }
public Guid? ParentId { get; set; }
/// <summary>
/// 节点图标文件名称

View File

@@ -24,7 +24,7 @@ namespace OpenAuth.App.ViewModel
/// 用户ID
/// </summary>
/// <returns></returns>
public int Id { get; set; }
public Guid Id { get; set; }
/// <summary>
/// 名称

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using Infrastructure;
using OpenAuth.Domain;
namespace OpenAuth.App.ViewModel
{
public class UserView
@@ -11,7 +12,7 @@ namespace OpenAuth.App.ViewModel
/// 用户ID
/// </summary>
/// <returns></returns>
public int Id { get; set; }
public Guid Id { get; set; }
/// <summary>

View File

@@ -15,6 +15,7 @@
using System.Collections.Generic;
using OpenAuth.Domain;
namespace OpenAuth.App.ViewModel
{
/// <summary>