using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.NET.Core
{
///
/// 学生信息表
///
[Comment("学生信息表")]
[Table("test_students3")]
public class TestStudent3 : DEntityBase
{
///
/// 学生姓名
///
[Comment("学生姓名")]
[MaxLength(10)]
public string Name { get; set; }
///
/// 学生年龄
///
[Comment("学生年龄")]
public int Age { get; set; }
///
/// 零花钱
///
[Comment("零花钱")]
[Column("HasMoney", TypeName = "decimal(10,3)")]
public decimal HasMoney { get; set; }
///
/// 是否在校
///
[Comment("是否在校")]
[MaxLength(50)]
public bool StartName { get; set; }
///
/// 性别
///
[Comment("性别")]
public GenderChinese Gender { get; set; }
///
/// 出生日期
///
[Comment("出生日期")]
public DateTime BrithDate { get; set; }
}
}