tuiwucarrer/Admin.NET/Admin.NET.Core/Entity/CePing/BusStudentsFramily.cs

58 lines
1.4 KiB
C#

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
{
/// <summary>
/// 家长信息表
/// </summary>
[SugarTable("bus_studentsframily_info", "家长信息表")]
public class BusStudentsFramily : DEntitySortTenant
{
/// <summary>
/// 第三方平台的用户唯一Id
/// </summary>
[SugarColumn(ColumnDescription = "UUID")]
[MaxLength(50)]
public string Uuid { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnDescription = "默认头像", IsNullable = true)]
public string Avatar { get; set; }
/// <summary>
/// 家长手机号
/// </summary>
[SugarColumn(ColumnDescription = "家长手机号",IsNullable =true)]
public string Phone { get; set; }
/// <summary>
/// 昵称
/// </summary>
[SugarColumn(ColumnDescription = "昵称", IsNullable = true)]
[MaxLength(20)]
public string NickName { get; set; }
/// <summary>
/// 亲属角色
/// </summary>
[SugarColumn(ColumnDescription = "亲属角色")]
public FramilyRoleEnum framilyRole { get; set; }
}
}