| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using Abp.Domain.Entities;
- using Abp.Domain.Entities.Auditing;
- using VberZero.BaseSystem.Users;
- namespace VberZero.BaseSystem;
- [Table("Sys_Attaches")]
- public class SysAttach : CreationAuditedEntity<int, User>, IMayHaveTenant
- {
- public const int CodeKeyMaxLength = 100;
- public const int SourceKeyMaxLength = 100;
- public const int FileTitleMaxLength = 200;
- public const int FileNameMaxLength = 200;
- public const int FilePathMaxLength = 1000;
- public const int FileExtMaxLength = 10;
- public const int DescriptionMaxLength = 500;
- [MaxLength(CodeKeyMaxLength)]
- public string CodeKey { 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; }
- public int FileType { get; set; }
- [MaxLength(FileExtMaxLength)]
- public string FileExt { get; set; }
- [MaxLength(DescriptionMaxLength)]
- public string Description { get; set; }
- public int? TenantId { get; set; }
- }
|