1 完成用户部门权限分配处理,可以为用户分配可见部门,如果没有任何可见部门,则只能查看自己有关的数据;

2 完善进出库实例;
3 添加CodeSmith生成EF DbContext Entity Mapping;
This commit is contained in:
yubaolee
2016-01-07 11:47:43 +08:00
parent c2099cd337
commit f0b42e83d4
62 changed files with 5687 additions and 1592 deletions

67
OpenAuth.Domain/Stock.cs Normal file
View File

@@ -0,0 +1,67 @@
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenAuth.Domain
{
/// <summary>
/// 出入库信息表
/// </summary>
public partial class Stock
{
public Stock()
{
this.Id= 0;
this.Name= string.Empty;
this.Number= 0;
this.Price= 0;
this.Status= 0;
this.User= string.Empty;
this.Time= DateTime.Now;
this.OrgId= 0;
}
/// <summary>
/// 数据ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 产品名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 产品数量
/// </summary>
public int Number { get; set; }
/// <summary>
/// 产品单价
/// </summary>
public decimal Price { get; set; }
/// <summary>
/// 出库/入库
/// </summary>
public int Status { get; set; }
/// <summary>
///
/// </summary>
public string User { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public System.DateTime Time { get; set; }
/// <summary>
/// 组织ID
/// </summary>
public int OrgId { get; set; }
}
}