44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
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; }
|
|
}
|
|
}
|