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。
/*
* date:2022-12-20
* developer:AMo
*/
using System.ComponentModel.DataAnnotations;
namespace ModernWMS.WMS.Entities.ViewModels
{
/// <summary>
/// rolemenu viewModel
/// </summary>
public class RolemenuBothViewModel
{
#region constructor
/// <summary>
/// constructor
/// </summary>
public RolemenuBothViewModel()
{
}
#endregion
#region Property
/// <summary>
/// userrole_id
/// </summary>
[Display(Name = "userrole_id")]
[Required(ErrorMessage = "Required")]
public int userrole_id { get; set; } = 0;
/// <summary>
/// role_name
/// </summary>
[Display(Name = "role_name")]
[MaxLength(32, ErrorMessage = "MaxLength")]
public string role_name { get; set; } = string.Empty;
/// <summary>
/// role valid
/// </summary>
public bool is_valid { get; set; } = true;
/// <summary>
/// menu details
/// </summary>
public List<RolemenuViewModel> detailList { get; set; } = new List<RolemenuViewModel>();
#endregion
}
}