Create Campaign view model and modify CampaignDTO
This commit is contained in:
parent
6a315764a8
commit
08a45f2c35
@ -6,14 +6,14 @@
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public DateTime From { get; set; }
|
||||
|
||||
public DateTime To { get; set; }
|
||||
|
||||
public string Url { get; set; }
|
||||
|
||||
public string UrlImage { get; set; }
|
||||
public string PictureUri { get; set; }
|
||||
}
|
||||
}
|
19
src/Web/WebMVC/ViewModels/Campaign.cs
Normal file
19
src/Web/WebMVC/ViewModels/Campaign.cs
Normal file
@ -0,0 +1,19 @@
|
||||
namespace Microsoft.eShopOnContainers.WebMVC.ViewModels
|
||||
{
|
||||
using System;
|
||||
|
||||
public class Campaign
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public DateTime From { get; set; }
|
||||
|
||||
public DateTime To { get; set; }
|
||||
|
||||
public string PictureUri { get; set; }
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user