57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Ease.Core.Model;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
public class MOBILEAppVersion : AuditTrailBase
|
|||
|
{
|
|||
|
public MOBILEAppVersion()
|
|||
|
{
|
|||
|
VersionNumber = string.Empty;
|
|||
|
DownloadMessage = string.Empty;
|
|||
|
DownloadLink = string.Empty;
|
|||
|
IsCurrentVersion = false;
|
|||
|
AllowOldVersion = false;
|
|||
|
}
|
|||
|
|
|||
|
#region Properties
|
|||
|
public int MOBILEAppVersionID { get; set; }
|
|||
|
public string VersionNumber { get; set; }
|
|||
|
public string DownloadMessage { get; set; }
|
|||
|
public string DownloadLink { get; set; }
|
|||
|
public bool IsCurrentVersion { get; set; }
|
|||
|
public bool AllowOldVersion { get; set; }
|
|||
|
|
|||
|
|
|||
|
#region Service Factory IMOBILEAppVersionService : IMOBILEAppVersionService
|
|||
|
|
|||
|
//internal static IMOBILEAppVersionService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IMOBILEAppVersionService>(typeof(IMOBILEAppVersionService)); }
|
|||
|
//}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Functions
|
|||
|
|
|||
|
//public static MOBILEAppVersion GetLatestVersion()
|
|||
|
//{
|
|||
|
// return Service.GetLatestVersion();
|
|||
|
//}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
public interface IMOBILEAppVersionService
|
|||
|
{
|
|||
|
MOBILEAppVersion GetLatestVersion();
|
|||
|
}
|
|||
|
|
|||
|
}
|