| 1234567891011121314151617181920212223242526272829303132333435 |
- 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<string, User>
- {
- public const int NameMaxLength = 50;
- public const int RoleNameMaxLength = 50;
- public const int ContentMaxLength = 200;
- /// <summary>
- /// 简称
- /// </summary>
- [MaxLength(NameMaxLength)]
- public string Name { get; set; }
- /// <summary>
- /// 角色名称 (不填写,从 TrainingRoleInfo 中拉取)
- /// </summary>
- [MaxLength(RoleNameMaxLength)]
- public string RoleName { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [MaxLength(ContentMaxLength)]
- public string Content { get; set; }
- }
- }
|