mirror of https://github.com/abpframework/abp.git
2 changed files with 4 additions and 27 deletions
@ -1,23 +0,0 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.IO; |
|
||||
using Volo.Abp.Content; |
|
||||
using Volo.Abp.Validation; |
|
||||
using Volo.CmsKit.MediaDescriptors; |
|
||||
|
|
||||
namespace Volo.CmsKit.Admin.MediaDescriptors |
|
||||
{ |
|
||||
public class CreateMediaInputStream : RemoteStreamContent |
|
||||
{ |
|
||||
[Required] |
|
||||
[DynamicStringLength(typeof(MediaDescriptorConsts), nameof(MediaDescriptorConsts.MaxEntityTypeLength))] |
|
||||
public string EntityType { get; set; } |
|
||||
|
|
||||
[Required] |
|
||||
[DynamicStringLength(typeof(MediaDescriptorConsts), nameof(MediaDescriptorConsts.MaxNameLength))] |
|
||||
public string Name { get; set; } |
|
||||
|
|
||||
public CreateMediaInputStream(Stream stream, string contentType) : base(stream, contentType) |
|
||||
{ |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue