仓库接口
This commit is contained in:
32
src/WMS.Web.Core/Dto/SingleData/SystemCodeRequest.cs
Normal file
32
src/WMS.Web.Core/Dto/SingleData/SystemCodeRequest.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.SingleData
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统code获取
|
||||
/// </summary>
|
||||
public class SystemCodeRequest : SingleDataRequest
|
||||
{
|
||||
public SystemCodeRequest() { }
|
||||
|
||||
public SystemCodeRequest(string systemCode,string name, int companyId)
|
||||
{
|
||||
this.Code = systemCode;
|
||||
this.Name = name;
|
||||
this.CompanyId = companyId;
|
||||
}
|
||||
/// <summary>
|
||||
/// 系统code
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "系统code不能未空")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user