Print checkout bug fix - task counter bug fixed - RollCalEmployeeUpload HasEmployee metof aded
This commit is contained in:
36
Company.Domain/AndroidApkVersionAgg/AndroidApkVersion.cs
Normal file
36
Company.Domain/AndroidApkVersionAgg/AndroidApkVersion.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using _0_Framework.Application;
|
||||
using _0_Framework.Domain;
|
||||
|
||||
namespace Company.Domain.AndroidApkVersionAgg;
|
||||
|
||||
public class AndroidApkVersion:EntityBase
|
||||
{
|
||||
private AndroidApkVersion () { }
|
||||
|
||||
public AndroidApkVersion( string versionName,string versionCode, IsActive isActive, string path)
|
||||
{
|
||||
|
||||
VersionName = versionName;
|
||||
VersionCode = versionCode;
|
||||
IsActive = isActive;
|
||||
Path = path;
|
||||
Title = $"Gozareshgir-{versionName}-{CreationDate:g}";
|
||||
}
|
||||
|
||||
public string Title { get; private set; }
|
||||
public string VersionName{ get; private set; }
|
||||
public string VersionCode{ get; private set; }
|
||||
public IsActive IsActive { get; private set; }
|
||||
public string Path { get; set; }
|
||||
|
||||
public void Active()
|
||||
{
|
||||
IsActive = IsActive.True;
|
||||
}
|
||||
|
||||
public void DeActive()
|
||||
{
|
||||
IsActive = IsActive.False;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user