using System;
using System.ComponentModel;
using Chloe.Annotations;
namespace DNSD_DB
{
public class Student
{
///
/// 学生ID [主键,自动递增]
///
[Column(IsPrimaryKey = true)]
[AutoIncrement]
[DisplayName("学生ID")]
public int ID { get; set; }
///
/// 班级ID
///
public int ClassID { get; set; }
///
/// 学生姓名
///
public string Name { get; set; }
///
/// 学生年龄
///
public int Age { get; set; }
///
/// 学生性别
///
public string Gender { get; set; }
}
public class RfidSetting
{
[Column(IsPrimaryKey = true)]
[AutoIncrement]
[DisplayName("自增主见")]
public int ID { get; set; }
public string RfidNo { get; set; }
public string Green { get; set; }
public string Yellow { get; set; }
public string Red { get; set; }
public bool IsEnable { get; set; }
public DateTime CreateDateTime { get; set; }
}
}