using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.NET.Core { /// /// 家长信息表 /// [SugarTable("bus_studentsframily_info", "家长信息表")] public class BusStudentsFramily : DEntitySortTenant { /// /// 第三方平台的用户唯一Id /// [SugarColumn(ColumnDescription = "UUID")] [MaxLength(50)] public string Uuid { get; set; } /// /// /// [SugarColumn(ColumnDescription = "默认头像", IsNullable = true)] public string Avatar { get; set; } /// /// 家长手机号 /// [SugarColumn(ColumnDescription = "家长手机号",IsNullable =true)] public string Phone { get; set; } /// /// 昵称 /// [SugarColumn(ColumnDescription = "昵称", IsNullable = true)] [MaxLength(20)] public string NickName { get; set; } /// /// 亲属角色 /// [SugarColumn(ColumnDescription = "亲属角色")] public FramilyRoleEnum framilyRole { get; set; } } }