42 lines
969 B
C#
42 lines
969 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using WalkingTec.Mvvm.Core;
|
|
using WalkingTec.Mvvm.Core.Extensions;
|
|
using HHWMS.Web.Models;
|
|
|
|
|
|
namespace HHWMS.Web
|
|
{
|
|
public partial class TaskHeaderHistoryVM : BaseCRUDVM<TaskHeaderHistory>
|
|
{
|
|
public TaskDetailHistoryListVM Details { get; set; } = new TaskDetailHistoryListVM();
|
|
public TaskHeaderHistoryVM()
|
|
{
|
|
}
|
|
|
|
protected override void InitVM()
|
|
{
|
|
Details.CopyContext(this);
|
|
Details.Searcher.TaskHeaderId = Entity.ID;
|
|
}
|
|
|
|
public override void DoAdd()
|
|
{
|
|
base.DoAdd();
|
|
}
|
|
|
|
public override void DoEdit(bool updateAllFields = false)
|
|
{
|
|
base.DoEdit(updateAllFields);
|
|
}
|
|
|
|
public override void DoDelete()
|
|
{
|
|
base.DoDelete();
|
|
}
|
|
}
|
|
}
|