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.

66 lines
1.3 KiB
C#

1 month ago
using System;
using System.ComponentModel;
1 month ago
using Chloe.Annotations;
namespace DNSD_DB
{
public class Student
{
/// <summary>
/// 学生ID [主键,自动递增]
/// </summary>
[Column(IsPrimaryKey = true)]
[AutoIncrement]
[DisplayName("学生ID")]
1 month ago
public int ID { get; set; }
1 month ago
/// <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; }
}
1 month ago
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; }
}
1 month ago
}