仓库-毛坯仓库添加,毛坯仓库日志添加
This commit is contained in:
73
ZR.Model/MES/wms/Dto/WmBlankInventoryDto.cs
Normal file
73
ZR.Model/MES/wms/Dto/WmBlankInventoryDto.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.MES.wms.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 毛坯库存表查询对象
|
||||
/// </summary>
|
||||
public class WmBlankInventoryQueryDto : PagerInfo
|
||||
{
|
||||
public string BlankNum { get; set; }
|
||||
public int? Type { get; set; }
|
||||
public int? Status { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 毛坯库存表输入输出对象
|
||||
/// </summary>
|
||||
public class WmBlankInventoryDto
|
||||
{
|
||||
// [Required(ErrorMessage = "主键不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string FkPaintId { get; set; }
|
||||
|
||||
public string BlankNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
///</summary>
|
||||
public string Unit { get; set; }
|
||||
/// <summary>
|
||||
/// 颜色
|
||||
///</summary>
|
||||
public string Color { get; set; }
|
||||
/// <summary>
|
||||
/// 规格
|
||||
///</summary>
|
||||
public string Specification { get; set; }
|
||||
/// <summary>
|
||||
/// 描述
|
||||
///</summary>
|
||||
public string Description { get; set; }
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
///</summary>
|
||||
public string Version { get; set; }
|
||||
|
||||
public int? Quantity { get; set; }
|
||||
|
||||
public int? MaxNum { get; set; }
|
||||
|
||||
public int? MinNum { get; set; }
|
||||
|
||||
public int? WarnNum { get; set; }
|
||||
|
||||
public int? Type { get; set; }
|
||||
|
||||
public int? Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
43
ZR.Model/MES/wms/Dto/WmBlankRecordDto.cs
Normal file
43
ZR.Model/MES/wms/Dto/WmBlankRecordDto.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.MES.wms.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 毛坯库存库存变动记录表查询对象
|
||||
/// </summary>
|
||||
public class WmBlankRecordQueryDto : PagerInfo
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 毛坯库存库存变动记录表输入输出对象
|
||||
/// </summary>
|
||||
public class WmBlankRecordDto
|
||||
{
|
||||
[Required(ErrorMessage = "主键不能为空")]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string FkBlankInventoryId { get; set; }
|
||||
|
||||
public string BlankNum { get; set; }
|
||||
|
||||
public int? ChangeQuantity { get; set; }
|
||||
|
||||
public decimal Type { get; set; }
|
||||
|
||||
public decimal Status { get; set; }
|
||||
|
||||
public string Remark { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
91
ZR.Model/MES/wms/WmBlankInventory.cs
Normal file
91
ZR.Model/MES/wms/WmBlankInventory.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
namespace ZR.Model.MES.wms
|
||||
{
|
||||
/// <summary>
|
||||
/// 毛坯库存表
|
||||
/// </summary>
|
||||
[SugarTable("wm_blank_inventory")]
|
||||
public class WmBlankInventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 油漆id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "fk_paint_id")]
|
||||
public string FkPaintId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 毛坯号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "blank_num")]
|
||||
public string BlankNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 库存数量
|
||||
/// </summary>
|
||||
public int? Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大库存
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "max_num")]
|
||||
public int? MaxNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最小库存
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "min_num")]
|
||||
public int? MinNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预警库存
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "warn_num")]
|
||||
public int? WarnNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类别
|
||||
/// </summary>
|
||||
public int? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public int? Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
74
ZR.Model/MES/wms/WmBlankRecord.cs
Normal file
74
ZR.Model/MES/wms/WmBlankRecord.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
|
||||
namespace ZR.Model.MES.wms
|
||||
{
|
||||
/// <summary>
|
||||
/// 毛坯库存库存变动记录表
|
||||
/// </summary>
|
||||
[SugarTable("wm_blank_record")]
|
||||
public class WmBlankRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 毛坯库存主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "fk_blank_inventory_id")]
|
||||
public string FkBlankInventoryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 毛坯号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "blank_num")]
|
||||
public string BlankNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变动数量
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "change_quantity")]
|
||||
public int? ChangeQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类别
|
||||
/// </summary>
|
||||
public decimal Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public decimal Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user