The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。
using ModernWMS.Core.Utility;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModernWMS.WMS.Entities.ViewModels
{
/// <summary>
/// get Stockprocess with
/// </summary>
public class StockprocessWithDetailViewModel
{
#region constructor
/// <summary>
/// constructor
/// </summary>
public StockprocessWithDetailViewModel()
{
}
#endregion
#region Property
/// <summary>
/// id
/// </summary>
[Display(Name = "id")]
public int id { get; set; } = 0;
/// <summary>
/// job_code
/// </summary>
[Display(Name = "job_code")]
[MaxLength(32, ErrorMessage = "MaxLength")]
public string job_code { get; set; } = string.Empty;
/// <summary>
/// job_type
/// </summary>
[Display(Name = "job_type")]
public bool job_type { get; set; } = true;
/// <summary>
/// process_status
/// </summary>
[Display(Name = "process_status")]
public bool process_status { get; set; } = true;
/// <summary>
/// processor
/// </summary>
[Display(Name = "processor")]
[MaxLength(64, ErrorMessage = "MaxLength")]
public string processor { get; set; } = string.Empty;
/// <summary>
/// process_time
/// </summary>
[Display(Name = "process_time")]
[DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]
public DateTime process_time { get; set; } = UtilConvert.MinDate;
/// <summary>
/// creator
/// </summary>
[Display(Name = "creator")]
[MaxLength(64, ErrorMessage = "MaxLength")]
public string creator { get; set; } = string.Empty;
/// <summary>
/// create_time
/// </summary>
[Display(Name = "create_time")]
[DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]
public DateTime create_time { get; set; } = UtilConvert.MinDate;
/// <summary>
/// last_update_time
/// </summary>
[Display(Name = "last_update_time")]
[DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]
public DateTime last_update_time { get; set; } = UtilConvert.MinDate;
/// <summary>
/// tenant_id
/// </summary>
[Display(Name = "tenant_id")]
public long tenant_id { get; set; } = 0;
/// <summary>
/// adjust_status
/// </summary>
public bool adjust_status { get; set; } = true;
#endregion
/// <summary>
/// source detail table
/// </summary>
public List<StockprocessdetailViewModel> source_detail_list { get; set; } = new List<StockprocessdetailViewModel>(2);
/// <summary>
/// target detail table
/// </summary>
public List<StockprocessdetailViewModel> target_detail_list { get; set; } = new List<StockprocessdetailViewModel>(2);
}
}