2025-03-28 09:49:56 +08:00

46 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TransmissionClient.Model
{
public class TableColumnModel
{
/// <summary>
/// 所属用户
/// </summary>
public string OWNER { get; set; }
/// <summary>
/// 所属表名
/// </summary>
public string TABLE_NAME { get; set; }
/// <summary>
/// 字段名称
/// </summary>
public string COLUMN_NAME { get; set; }
/// <summary>
/// 字段类型
/// </summary>
public OracleDataType DATA_TYPE { get; set; }
/// <summary>
/// 字段长度(字符类型有效)
/// </summary>
public int DATA_LENGTH { get; set; }
/// <summary>
/// 整数位长度(数值类型有效)
/// </summary>
public int DATA_PRECISION { get; set; }
/// <summary>
/// 小数位长度(数值类型有效)
/// </summary>
public int DATA_SCALE { get; set; }
}
public enum OracleDataType
{
DATE,
NUMBER,
VARCHAR2
}
}