This repository has been archived by the owner on May 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eee74a7
commit 3352895
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Akeneo.Model | ||
{ | ||
internal class MediaFile : ModelBase | ||
{ | ||
/// <summary> | ||
/// The product to which the media file will be associated. | ||
/// </summary> | ||
public MediaProduct Product { get; set; } | ||
|
||
/// <summary> | ||
/// The binaries of the file | ||
/// </summary> | ||
public string File { get; set; } | ||
|
||
public MediaFile() | ||
{ | ||
Product = new MediaProduct(); | ||
} | ||
} | ||
|
||
internal class MediaProduct | ||
{ | ||
/// <summary> | ||
/// Product Identifier | ||
/// </summary> | ||
public string Identifier { get; set; } | ||
|
||
/// <summary> | ||
/// Attribute Code | ||
/// </summary> | ||
public string Attribute { get; set; } | ||
|
||
/// <summary> | ||
/// Channel Code | ||
/// </summary> | ||
public string Scope { get; set; } | ||
|
||
/// <summary> | ||
/// Locale Code | ||
/// </summary> | ||
public string Locale { get; set; } | ||
} | ||
} |