using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model
{
    /// <summary>
    /// 基础数据配置表
    /// </summary>
    public class Sys_SystemConfig : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string paramcode { get; set; } = "";
        /// <summary>
        /// 参数值
        /// </summary>
        public string paramvalue { get; set; } = "";
        /// <summary>
        /// 说明
        /// </summary>
        public string paramdes { get; set; } = "";
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; } = DateTime.Now.ToLocalTime();
        /// <summary>
        /// 添加人
        /// </summary>
        public string createby { get; set; } = "";
        /// <summary>
        /// 是否删除：0未删除，1已删除
        /// </summary>
        public bool isdelete { get; set; } = false;
    }
}