EmpMan.ViewModel/PaymentVMs/PaymentImportVM.cs

(完整代码) 1KB

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 EmpMan.Model;


namespace EmpMan.ViewModel.PaymentVMs
{
    public partial class PaymentTemplateVM : BaseTemplateVM
    {
        [Display(Name = "工资结算日期")]
        public ExcelPropety date_Excel = ExcelPropety.CreateProperty<Payment>(x => x.date);
        [Display(Name = "被结发人")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<Payment>(x => x.Name);
        [Display(Name = "结发工资(元)")]
        public ExcelPropety pay_Excel = ExcelPropety.CreateProperty<Payment>(x => x.pay);
        [Display(Name = "备注")]
        public ExcelPropety Notes_Excel = ExcelPropety.CreateProperty<Payment>(x => x.Notes);

	    protected override void InitVM()
        {
        }

    }

    public class PaymentImportVM : BaseImportVM<PaymentTemplateVM, Payment>
    {

    }

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。