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。

1010 B
Raw Blame
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>
    /// what user input when changing password
    /// </summary>
    public class UserChangePwdViewModel
    {
        /// <summary>
        /// user's id
        /// </summary>
        public int id { get; set; }  = 0;

        /// <summary>
        /// old password
        /// </summary>
        [Required(ErrorMessage = "Required")]
        [Display(Name = "old password")]
        [MaxLength(64, ErrorMessage = "MaxLength")]
        public string old_password { get; set; }   = string.Empty;

        /// <summary>
        /// new password
        /// </summary>
        [Required(ErrorMessage = "Required")]
        [Display(Name = "new password")]
        [MaxLength(64, ErrorMessage = "MaxLength")]
        public string new_password { get; set; } = string.Empty;
    }
}