123456789101112131415161718192021 |
- using Comal.Classes;
- using Comal.Stores;
- using NPOI.HSSF.Record;
- using System.Collections.Generic;
- using System.Text;
- using InABox.Core;
- using System;
- namespace PRSStores
- {
- public class StagingSetoutStore : BaseStore<StagingSetout>
- {
- protected override void BeforeSave(StagingSetout entity)
- {
- if ((entity.Setout.ID != Guid.Empty || entity.Task.ID != Guid.Empty) && entity.Archived == DateTime.MinValue)
- entity.Archived = DateTime.Now;
- base.BeforeSave(entity);
- }
- }
- }
|