| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System.ComponentModel.DataAnnotations;
- using Abp.Domain.Entities;
- using Abp.Domain.Entities.Auditing;
- namespace IwbZero.Authorization.Base.SystemInfo
- {
- public class SysAttachFileBase : FullAuditedEntity<int>, IMustHaveTenant
- {
- public const int AttachNoMaxLength = 32;
- public const int TableNameMaxLength = 50;
- public const int ColumnNameMaxLength = 50;
- public const int SourceKeyMaxLength = 50;
- public const int FileTitleMaxLength = 50;
- public const int FileNameMaxLength = 50;
- public const int FilePathMaxLength = 500;
- public const int FileTypeMaxLength = 20;
- public const int FileExtMaxLength = 10;
- public const int DescriptionMaxLength = 500;
- [MaxLength(AttachNoMaxLength)]
- public string AttachNo { get; set; }
- [MaxLength(TableNameMaxLength)]
- public string TableName { get; set; }
- [MaxLength(ColumnNameMaxLength)]
- public string ColumnName { get; set; }
- [MaxLength(SourceKeyMaxLength)]
- public string SourceKey { get; set; }
- [MaxLength(FileTitleMaxLength)]
- public string FileTitle { get; set; }
- [MaxLength(FileNameMaxLength)]
- public string FileName { get; set; }
- [MaxLength(FilePathMaxLength)]
- public string FilePath { get; set; }
- [MaxLength(FileTypeMaxLength)]
- public string FileType { get; set; }
- [MaxLength(FileExtMaxLength)]
- public string FileExt { get; set; }
- [MaxLength(DescriptionMaxLength)]
- public string Description { get; set; }
- public int TenantId { get; set; }
- }
- }
|