全面修改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

@@ -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 Stock
public partial class Stock :Entity
{
public Stock()
{
this.Id= 0;
this.Name= string.Empty;
this.Name= string.Empty;
this.Number= 0;
this.Price= 0;
this.Status= 0;
this.User= string.Empty;
this.Viewable = string.Empty;
this.Time= DateTime.Now;
this.OrgId= 0;
}
}
/// <summary>
/// 数据ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 产品名称
/// </summary>
@@ -53,7 +46,7 @@ namespace OpenAuth.Domain
/// <summary>
///
/// </summary>
public string User { get; set; }
public string Viewable { get; set; }
/// <summary>
/// 操作时间
/// </summary>
@@ -61,7 +54,7 @@ namespace OpenAuth.Domain
/// <summary>
/// 组织ID
/// </summary>
public int OrgId { get; set; }
public System.Guid? OrgId { get; set; }
}
}