Files
zsxt_nbzs_h5/Api/Dilon.Application/Entity/CodeGenTest.cs
ky_sunl d1c9e5a71e
2021-04-22 13:37:25 +00:00

40 lines
902 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Dilon.Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dilon.Application
{
/// <summary>
/// 代码生成实体测试EF
/// </summary>
[Table("code_gen_test")]
[Comment("代码生成业务")]
public class CodeGenTest : DEntityBase
{
/// <summary>
/// 名称
/// </summary>
[Comment("名称")]
public string Name { get; set; }
/// <summary>
/// 昵称
/// </summary>
[Comment("昵称")]
public string NickName { get; set; }
/// <summary>
/// 生日
/// </summary>
[Comment("生日")]
public DateTimeOffset Birthday { get; set; }
/// <summary>
/// 年龄
/// </summary>
[Comment("年龄")]
public int Age { get; set; }
}
}