34 lines
937 B
C#
34 lines
937 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using WalkingTec.Mvvm.Core;
|
|
using WalkingTec.Mvvm.Core.Extensions;
|
|
using HHWMS.Web.Models;
|
|
|
|
|
|
namespace HHWMS.Web.configs.ViewModels.CustomerVMs
|
|
{
|
|
public partial class CustomerTemplateVM : BaseTemplateVM
|
|
{
|
|
[Display(Name = "Location.ZoneCode")]
|
|
public ExcelPropety Code_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Code);
|
|
[Display(Name = "Location.ZoneName")]
|
|
public ExcelPropety Type_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Type);
|
|
[Display(Name = "Customer.ZoneName")]
|
|
public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Name);
|
|
|
|
protected override void InitVM()
|
|
{
|
|
}
|
|
|
|
}
|
|
|
|
public class CustomerImportVM : BaseImportVM<CustomerTemplateVM, Customer>
|
|
{
|
|
|
|
}
|
|
|
|
}
|