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 System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
namespace ModernWMS.Core.Models
{
/// <summary>
/// login input viewmodel
/// </summary>
public class LoginInputViewModel
{
/// <summary>
/// username
/// </summary>
[Required(ErrorMessage ="Required")]
[Display(Name = "user_name")]
[MaxLength(128,ErrorMessage = "MaxLength")]
public string user_name { get; set; } = string.Empty;
/// <summary>
/// password
/// </summary>
[Required(ErrorMessage ="Required")]
[Display(Name = "password")]
[MaxLength(64, ErrorMessage = "MaxLength")]
public string password { get; set; } = string.Empty;
}
}