SysAttachFileCreateDto.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.AutoMapper;
  3. namespace ShwasherSys.BaseSysInfo.SysAttachFiles.Dto
  4. {
  5. [AutoMapTo(typeof(SysAttachFile))]
  6. public class SysAttachFileCreateDto
  7. {
  8. [StringLength(SysAttachFile.AttachNoMaxLength)]
  9. public string AttachNo { get; set; }
  10. [StringLength(SysAttachFile.TableNameMaxLength)]
  11. public string TableName { get; set; }
  12. [StringLength(SysAttachFile.ColumnNameMaxLength)]
  13. public string ColumnName { get; set; }
  14. [StringLength(SysAttachFile.SourceKeyMaxLength)]
  15. public string SourceKey { get; set; }
  16. [StringLength(SysAttachFile.FileTitleMaxLength)]
  17. public string FileTitle { get; set; }
  18. [StringLength(SysAttachFile.FileNameMaxLength)]
  19. public string FileName { get; set; }
  20. [StringLength(SysAttachFile.FilePathMaxLength)]
  21. public string FilePath { get; set; }
  22. [StringLength(SysAttachFile.FileTypeMaxLength)]
  23. public string FileType { get; set; }
  24. [StringLength(SysAttachFile.FileExtMaxLength)]
  25. public string FileExt { get; set; }
  26. [StringLength(SysAttachFile.DescriptionMaxLength)]
  27. public string Description { get; set; }
  28. public string FileInfo { get; set; }
  29. }
  30. }