添加项目文件。
This commit is contained in:
43
OrpaonEMS.Model/ConfigDbData.cs
Normal file
43
OrpaonEMS.Model/ConfigDbData.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Model
|
||||
{
|
||||
[Table(Name = "ConfigDbData")]
|
||||
public class ConfigDbData
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键 自增主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称信息
|
||||
/// </summary>
|
||||
[Column(Name = "Name", IsNullable = false, StringLength = 50)]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分类
|
||||
/// </summary>
|
||||
[Column(Name = "Category", IsNullable = false, StringLength = 20)]
|
||||
public string Category { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 值和数据
|
||||
/// </summary>
|
||||
[Column(Name = "Value", IsNullable = false, StringLength = 30)]
|
||||
public string Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(DbType = "datetime",CanUpdate =true)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user