using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities.Auditing; using WeApp.Authorization.Users; namespace WeApp.BasicInfo { [Table("Bs_PhoneQuestions")] public class PhoneQuestionInfo : FullAuditedEntity { public const int NameMaxLength = 50; public const int TagMaxLength = 200; public const int ContentMaxLength = 200; /// /// 简称 /// [MaxLength(NameMaxLength)] public string Name { get; set; } /// /// 内容 /// [MaxLength(ContentMaxLength)] public string Content { get; set; } public int Type { get; set; } /// /// 内容 /// [MaxLength(TagMaxLength)] public string Tag { get; set; } } }