using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace YbTest.Models
{
    /// <summary>  
    /// 对象组装表  
    ///</summary>  
    [SugarTable("STD_OBJECT_ASSEMBLY")]
    public class ObjectAssembly
    {
        /// <summary>  
        /// 备  注:表名  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "MAPPING_TABLE")]
        public string MappingTable { get; set; } = null!;

        /// <summary>  
        /// 备  注:表归属于那(例如:系统内、医保)  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "ASSEMBLY_TYPE")]
        public string AssemblyType { get; set; } = null!;

        /// <summary>  
        /// 备  注:STD_METHOD_CONFIG表ID  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "METHOD_REF")]
        public string MethodRef { get; set; } = null!;

        /// <summary>  
        /// 备  注:1 对象 2 列表  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "OBJECT_TYPE")]
        public int ObjectType { get; set; }

        /// <summary>  
        /// 备  注:1 入参 2 出参  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "PARAMETR_TYPE")]
        public int ParameterType { get; set; }

        /// <summary>  
        /// 备  注:id  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public decimal Id { get; set; }

        /// <summary>  
        /// 备  注:属性路径(对象[属性名])  
        /// 默认值:  
        ///</summary>  
        [SugarColumn(ColumnName = "OBJECT_PATH")]
        public string ObjectPath { get; set; } = null!;
    }
}