using Abp.Domain.Entities.Auditing; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WeApp.Authorization.Users; namespace WeApp.BasicInfo { [Table("Bs_StudentTips")] public class StudentTipInfo : FullAuditedEntity { public const int NameMaxLength = 50; public const int RoleNameMaxLength = 50; public const int ContentMaxLength = 200; /// /// 简称 /// [MaxLength(NameMaxLength)] public string Name { get; set; } /// /// 角色名称 (不填写,从 TrainingRoleInfo 中拉取) /// [MaxLength(RoleNameMaxLength)] public string RoleName { get; set; } /// /// 内容 /// [MaxLength(ContentMaxLength)] public string Content { get; set; } } }