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