using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MiAssessment.Model.Entities;
///
/// 规划预约表
///
[Table("planner_bookings")]
public class PlannerBooking
{
///
/// 主键ID
///
[Key]
public long Id { get; set; }
///
/// 用户ID
///
public long UserId { get; set; }
///
/// 订单ID
///
public long OrderId { get; set; }
///
/// 规划师ID
///
public long PlannerId { get; set; }
///
/// 预约日期
///
[Column(TypeName = "date")]
public DateTime BookingDate { get; set; }
///
/// 预约时间,如"15:00"
///
[Required]
[MaxLength(20)]
public string BookingTime { get; set; } = null!;
///
/// 姓名
///
[Required]
[MaxLength(50)]
public string Name { get; set; } = null!;
///
/// 手机号
///
[Required]
[MaxLength(20)]
public string Phone { get; set; } = null!;
///
/// 性别:1男 2女
///
public int Gender { get; set; }
///
/// 年级:1小学 2初中 3高中 4大专 5本科 6研究生及以上
///
public int Grade { get; set; }
///
/// 专业名称(大专及以上)
///
[MaxLength(100)]
public string? MajorName { get; set; }
///
/// 语文成绩
///
public int? ScoreChinese { get; set; }
///
/// 数学成绩
///
public int? ScoreMath { get; set; }
///
/// 英语成绩
///
public int? ScoreEnglish { get; set; }
///
/// 物理成绩
///
public int? ScorePhysics { get; set; }
///
/// 化学成绩
///
public int? ScoreChemistry { get; set; }
///
/// 生物成绩
///
public int? ScoreBiology { get; set; }
///
/// 地理成绩
///
public int? ScoreGeography { get; set; }
///
/// 政治成绩
///
public int? ScorePolitics { get; set; }
///
/// 家庭氛围
///
[MaxLength(500)]
public string? FamilyAtmosphere { get; set; }
///
/// 期望
///
[MaxLength(500)]
public string? Expectation { get; set; }
///
/// 状态:1待联系 2联系中 3已完成 4已取消
///
public int Status { get; set; } = 1;
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 更新时间
///
public DateTime UpdateTime { get; set; }
///
/// 软删除标记
///
public bool IsDeleted { get; set; }
}