Skip to content

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。

2.7 KB
Raw Blame
/*
 * date:2022-12-23
 * developer:NoNo
 */
using System;
using System.ComponentModel.DataAnnotations;
using ModernWMS.Core.Utility;

namespace ModernWMS.WMS.Entities.ViewModels
{
    /// <summary>
    /// stockprocess viewModel without details
    /// </summary>
    public class StockprocessGetViewModel
    {

        #region constructor
        /// <summary>
        /// constructor
        /// </summary>
        public StockprocessGetViewModel()
        {

        }
        #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



    }
}