| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.ComponentModel.DataAnnotations;
- using Abp.Domain.Entities.Auditing;
- namespace IwbZero.Authorization.Base.SystemInfo
- {
- public class SysStateBase : FullAuditedEntity<int>
- {
- public const int StateNoMaxLength = 32;
- public const int StateNameMaxLength = 50;
- public const int TableNameMaxLength = 50;
- public const int ColNameMaxLength = 50;
- public const int CodeValueMaxLength = 100;
- public const int DisplayValueMaxLength = 100;
- [StringLength(StateNoMaxLength)]
- public string StateNo { get; set; }
- [StringLength(StateNameMaxLength)]
- public string StateName { get; set; }
- [Required]
- [StringLength(TableNameMaxLength)]
- public string TableName { get; set; }
- [Required]
- [StringLength(ColNameMaxLength)]
- public string ColumnName { get; set; }
- [Required]
- [StringLength(CodeValueMaxLength)]
- public string CodeValue { get; set; }
- [Required]
- [StringLength(DisplayValueMaxLength)]
- public string DisplayValue { get; set; }
- }
- }
|