mirror of https://github.com/abpframework/abp.git
1 changed files with 0 additions and 37 deletions
@ -1,37 +0,0 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using System.ComponentModel.DataAnnotations.Schema; |
|||
using Volo.Abp.Cli.ProjectBuilding.Building; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace Volo.Abp.Cli.ProjectBuilding |
|||
{ |
|||
[Table("Downloads")] |
|||
public class DownloadInfo : CreationAuditedAggregateRoot<int> |
|||
{ |
|||
[Required] |
|||
[StringLength(128)] |
|||
public string ProjectName { get; set; } |
|||
|
|||
[Required] |
|||
[StringLength(42)] |
|||
public string TemplateName { get; set; } |
|||
|
|||
[Required] |
|||
public DatabaseProvider DatabaseProvider { get; set; } |
|||
|
|||
[Required] |
|||
[StringLength(20)] |
|||
public string Version { get; set; } |
|||
|
|||
public int CreationDuration { get; set; } |
|||
|
|||
public DownloadInfo(string projectName, string templateName, DatabaseProvider databaseProvider, string version, int creationDuration) |
|||
{ |
|||
ProjectName = projectName; |
|||
TemplateName = templateName; |
|||
DatabaseProvider = databaseProvider; |
|||
Version = version; |
|||
CreationDuration = creationDuration; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue