| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- 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<int, User>
- {
- public const int NameMaxLength = 50;
- public const int TagMaxLength = 200;
- public const int ContentMaxLength = 200;
- public const int KeywordMaxLength = 100;
- /// <summary>
- /// 内容
- /// </summary>
- [MaxLength(ContentMaxLength)]
- public string Content { get; set; }
- /// <summary>
- /// 关键字
- /// </summary>
- [MaxLength(KeywordMaxLength)]
- public string Keywords { get; set; }
- /// <summary>
- /// 答案类型
- /// </summary>
- public int Type { get; set; }
- /// <summary>
- /// 培训营
- /// </summary>
- [MaxLength(IwbConsts.PrimaryKey)]
- public string QuestionNo { get; set; }
- [ForeignKey("QuestionNo")]
- public PhoneQuestionInfo QuestionInfo { get; set; }
- }
- }
|