You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using Chloe.Annotations;
|
|
|
|
|
|
|
|
|
|
namespace DNSD_DB
|
|
|
|
|
{
|
|
|
|
|
public class Student
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 学生ID [主键,自动递增]
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column(IsPrimaryKey = true)]
|
|
|
|
|
[AutoIncrement]
|
|
|
|
|
[DisplayName("学生ID")]
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班级ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public int ClassID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 学生姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 学生年龄
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public int Age { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 学生性别
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|