36 lines
891 B
C#
Raw Permalink Normal View History

2025-06-06 14:57:20 +08:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace YD_WeChatApplet.Api.Entitys
{
/// <summary>
/// 星期表
/// </summary>
[Table("WCA_Week")]
public class WCA_Week
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
///Name
/// </summary>
[Display(Name = "Name")]
[Comment("Name")]
[Column(TypeName = "nvarchar(100)")]
public string Name { get; set; }
/// <summary>
///备注
/// </summary>
[Display(Name = "备注")]
[Comment("备注")]
[Column(TypeName = "text")]
public string Remarks { get; set; }
}
}