mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 10:59:49 +08:00
添加项目文件。
This commit is contained in:
65
CoreCms.Net.Model/Entities/Stock/CoreCmsStock.cs
Normal file
65
CoreCms.Net.Model/Entities/Stock/CoreCmsStock.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:59
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsStock",TableDescription = "库存操作表")]
|
||||
public partial class CoreCmsStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作表
|
||||
/// </summary>
|
||||
public CoreCmsStock()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String id { get; set; }
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[Display(Name = "操作类型")]
|
||||
[SugarColumn(ColumnDescription = "操作类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 操作员
|
||||
/// </summary>
|
||||
[Display(Name = "操作员")]
|
||||
[SugarColumn(ColumnDescription = "操作员")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 manager { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String memo { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
97
CoreCms.Net.Model/Entities/Stock/CoreCmsStockLog.cs
Normal file
97
CoreCms.Net.Model/Entities/Stock/CoreCmsStockLog.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:59
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作详情表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsStockLog",TableDescription = "库存操作详情表")]
|
||||
public partial class CoreCmsStockLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作详情表
|
||||
/// </summary>
|
||||
public CoreCmsStockLog()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 库存单号
|
||||
/// </summary>
|
||||
[Display(Name = "库存单号")]
|
||||
[SugarColumn(ColumnDescription = "库存单号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String stockId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品序列
|
||||
/// </summary>
|
||||
[Display(Name = "货品序列")]
|
||||
[SugarColumn(ColumnDescription = "货品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品序列
|
||||
/// </summary>
|
||||
[Display(Name = "商品序列")]
|
||||
[SugarColumn(ColumnDescription = "商品序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 goodsId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Display(Name = "数量")]
|
||||
[SugarColumn(ColumnDescription = "数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 货品编码
|
||||
/// </summary>
|
||||
[Display(Name = "货品编码")]
|
||||
[SugarColumn(ColumnDescription = "货品编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String sn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品条码
|
||||
/// </summary>
|
||||
[Display(Name = "商品条码")]
|
||||
[SugarColumn(ColumnDescription = "商品条码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String bn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(ColumnDescription = "商品名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String goodsName { get; set; }
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "货品明细序列号存储")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String spesDesc { get; set; }
|
||||
}
|
||||
}
|
||||
53
CoreCms.Net.Model/Entities/Stock/CoreCmsStockLogPartial.cs
Normal file
53
CoreCms.Net.Model/Entities/Stock/CoreCmsStockLogPartial.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作详情表
|
||||
/// </summary>
|
||||
public partial class CoreCmsStockLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[Display(Name = "操作类型")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public int type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作员
|
||||
/// </summary>
|
||||
[Display(Name = "操作员")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public int manager { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string memo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
28
CoreCms.Net.Model/Entities/Stock/CoreCmsStockPartial.cs
Normal file
28
CoreCms.Net.Model/Entities/Stock/CoreCmsStockPartial.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存操作表
|
||||
/// </summary>
|
||||
public partial class CoreCmsStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 操作员昵称
|
||||
/// </summary>
|
||||
[Display(Name = "操作员昵称")]
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string managerName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user