100 lines
1.9 KiB
C#
100 lines
1.9 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AIMSModel
|
|
{
|
|
[Serializable]
|
|
public partial class QualityControlConfig : IComparable<QualityControlConfig>
|
|
{
|
|
private int? id;
|
|
private int? qCId;
|
|
private int? qCIId;
|
|
private int? viewColWidth;
|
|
private string excelColName;
|
|
private int? mOrderBy = 0;
|
|
private string viewModel;
|
|
//外键关联的实体字段
|
|
private QualityControl qCRef;
|
|
private QualityControlItem qCIRef;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? Id
|
|
{
|
|
get{ return id; }
|
|
set{ id=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? QCId
|
|
{
|
|
get{ return qCId; }
|
|
set{ qCId=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? QCIId
|
|
{
|
|
get{ return qCIId; }
|
|
set{ qCIId=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? ViewColWidth
|
|
{
|
|
get{ return viewColWidth; }
|
|
set{ viewColWidth=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ExcelColName
|
|
{
|
|
get{ return excelColName; }
|
|
set{ excelColName=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? MOrderBy
|
|
{
|
|
get{ return mOrderBy; }
|
|
set{ mOrderBy=value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ViewModel
|
|
{
|
|
get{ return viewModel; }
|
|
set{ viewModel=value; }
|
|
}
|
|
/// <summary>
|
|
/// 外键关联的实体属性
|
|
/// </summary>
|
|
|
|
public QualityControl QCRef
|
|
{
|
|
get{ return qCRef; }
|
|
set{ qCRef = value; }
|
|
}
|
|
|
|
public QualityControlItem QCIRef
|
|
{
|
|
get{ return qCIRef; }
|
|
set{ qCIRef = value; }
|
|
}
|
|
|
|
public int CompareTo(QualityControlConfig other)
|
|
{
|
|
if (other == null) return 1;
|
|
return this.MOrderBy.Value.CompareTo(other.MOrderBy.Value);
|
|
}
|
|
}
|
|
}
|