仓库管理_客户信息:init
This commit is contained in:
42
ZR.Model/MES/wms/Dto/WmCustomDto.cs
Normal file
42
ZR.Model/MES/wms/Dto/WmCustomDto.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZR.Model.MES.wms.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 客户信息查询对象
|
||||
/// </summary>
|
||||
public class WmCustomQueryDto : PagerInfo
|
||||
{
|
||||
public string CustomNo { get; set; }
|
||||
|
||||
public string CustomName { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 客户信息输入输出对象
|
||||
/// </summary>
|
||||
public class WmCustomDto
|
||||
{
|
||||
[Required(ErrorMessage = "主键不能为空")]
|
||||
public int Id { get; set; }
|
||||
|
||||
public string CustomNo { get; set; }
|
||||
|
||||
public string CustomName { get; set; }
|
||||
|
||||
public string CustomAddress { 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; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,8 +5,47 @@ namespace ZR.Model.MES.wms.Dto
|
||||
/// <summary>
|
||||
/// 物料记录表查询对象
|
||||
/// </summary>
|
||||
public class WmMaterialQueryDto : PagerInfo
|
||||
public class WmMaterialQueryDto : PagerInfo
|
||||
{
|
||||
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Partnumber { get; set; }
|
||||
|
||||
public string U8InventoryCode { get; set; }
|
||||
|
||||
public string BlankNum { get; set; }
|
||||
|
||||
public string Unit { get; set; }
|
||||
|
||||
public string ProductName { get; set; }
|
||||
|
||||
public string Color { get; set; }
|
||||
|
||||
public string Specification { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public string Version { get; set; }
|
||||
|
||||
public string Remarks { get; set; }
|
||||
|
||||
public int? Sort { get; set; }
|
||||
|
||||
public string Search1 { get; set; }
|
||||
|
||||
public string Search2 { get; set; }
|
||||
|
||||
public int? Status { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SqlSugar;
|
||||
@@ -6,54 +6,62 @@ namespace ZR.Model.MES.wms
|
||||
{
|
||||
/// <summary>
|
||||
/// 客户信息
|
||||
///</summary>
|
||||
/// </summary>
|
||||
[SugarTable("wm_custom")]
|
||||
public class WmCustom
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
||||
public int Id { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户代码
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="custom_no" )]
|
||||
public string CustomNo { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "custom_no")]
|
||||
public string CustomNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="custom_name" )]
|
||||
public string CustomName { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "custom_name")]
|
||||
public string CustomName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户地址
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="custom_address" )]
|
||||
public string CustomAddress { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "custom_address")]
|
||||
public string CustomAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="remark" )]
|
||||
public string Remark { get; set; }
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_BY" )]
|
||||
public string CreatedBy { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_TIME" )]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_BY" )]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user