laatzen/ServiceFwUpdate/Common/FwUpdateDb/FwUpdateSafeDb.cs
2021-10-01 11:11:04 +02:00

48 lines
1.4 KiB
C#

using System;
namespace Xylem.ServiceFwUpdate.Common.FwUpdateDb
{
/// <summary>
/// FW-Update safe container for exchange with DB
/// </summary>
[Serializable]
public class FwUpdateSafeDb
{
/// <summary>
/// Assigned Id for this container
/// </summary>
public Int32 ContainerId { get; set; }
/// <summary>
/// Assigned user for this safe referenced by the user ID
/// </summary>
public Int32 UserId { get; set; }
/// <summary>
/// Name of FW-Update Builder Operator who generated this safe
/// </summary>
public String OperatorNameBuilder { get; set; }
/// <summary>
/// Name of FW-Update safe with date FW-Update order number and customer name
/// (e.g. ThamesWater_1234567890.safe)
/// </summary>
public String Name { get; set; }
/// <summary>
/// Raw data
/// </summary>
public Byte[] Content { get; set; }
/// <summary>
/// Index from file tbl where the content is located
/// </summary>
public Int32 FilePartId { get; set; }
/// <summary>
/// automatic (DB-job) delete all FwUpdateSafeContainer with invalid date
/// </summary>
public DateTimeOffset ValidDate { get; set; }
}
}