demo20230512/ViewModels/Lca/LcaIndexViewModel.cs
2023-05-12 10:20:28 +08:00

36 lines
1.3 KiB
C#

using Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Weee.Models;
namespace Weee.ViewModels.Lca
{
public class LcaIndexViewModel : ViewModelBase
{
public List<UserViewModel> users { get; set; }
//[Display(Name = "UserName", ResourceType = typeof(Resource))]
//[Required(ErrorMessageResourceType = typeof(Resource),
// ErrorMessageResourceName = "RequiredMessage")]
//public string Name { get; set; }
//[Display(Name = "UserDepartment", ResourceType = typeof(Resource))]
//public string Department { get; set; }
//[Display(Name = "UserJob", ResourceType = typeof(Resource))]
//public string Job { get; set; }
////to do : this property should merge into Email in IdentityUser
//[Display(Name = "UserEmail", ResourceType = typeof(Resource))]
//[Required(ErrorMessageResourceType = typeof(Resource),
// ErrorMessageResourceName = "RequiredMessage")]
//public override string Email { get; set; }
////to do : this property should merge into PhoneNumber in IdentityUser
//[Display(Name = "UserPhoneNumber", ResourceType = typeof(Resource))]
//public override string PhoneNumber { get; set; }
}
}