using Abp.Domain.Entities.Auditing; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WeApp.Authorization.Users; using WeApp.Configuration; namespace WeApp.BasicInfo { [Table("Bs_PhoneQuestionAnswers")] public class PhoneAnswerInfo : FullAuditedEntity { public const int NameMaxLength = 50; public const int TagMaxLength = 200; public const int ContentMaxLength = 200; public const int KeywordMaxLength = 100; /// /// 内容 /// [MaxLength(ContentMaxLength)] public string Content { get; set; } /// /// 关键字 /// [MaxLength(KeywordMaxLength)] public string Keywords { get; set; } /// /// 答案类型 /// public int Type { get; set; } /// /// 培训营 /// [MaxLength(IwbConsts.PrimaryKey)] public string QuestionNo { get; set; } [ForeignKey("QuestionNo")] public PhoneQuestionInfo QuestionInfo { get; set; } } }