SysRelevance.cs 1.44 KB
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
	/// 主键关联表
	/// </summary>
    [Table("sys_relevance")]
    public partial class SysRelevance : base_Entity
    {
        public SysRelevance()
        {
        }

        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column("id")]
        public int Id { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        [Column("createBy")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("createTime")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        [Column("updateBy")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("updateTime")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
	    /// 关联键
	    /// </summary>
        [Column("relKey")]
        public string RelKey { get; set; }
        /// <summary>
	    /// 主键
	    /// </summary>
        [Column("firstId")]
        public int? FirstId { get; set; }
        /// <summary>
	    /// 关联键
	    /// </summary>
        [Column("secondId")]
        public int? SecondId { get; set; }
    }
}