using Dilon.Core; using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Ewide.Application { /// /// 代码生成实体测试(EF) /// [Table("code_gen_test")] [Comment("代码生成业务")] public class CodeGenTest : DEntityBase { /// /// 名称 /// [Comment("名称")] public string Name { get; set; } /// /// 昵称 /// [Comment("昵称")] public string NickName { get; set; } /// /// 生日 /// [Comment("生日")] public DateTimeOffset Birthday { get; set; } /// /// 年龄 /// [Comment("年龄")] public int Age { get; set; } } }