using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using System.Data;
namespace QMAPP.MD.Entity
{
///
/// 模块名称:工厂
/// 作 者:郭兆福
/// 编写日期:2017年05月04日
///
[DBTable(TableName = "T_MD_FACTORY", TimeStampColumn = "UPDATEDATE")]
public class Factory : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///工厂编号
///
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
///
///工厂编号原
///
public string FACTORY_CODE_OLD { get; set; }
///
///工厂名称
///
[DBColumn(ColumnName = "FACTORY_NAME", DataType = DbType.String)]
public string FACTORY_NAME { get; set; }
///
///工厂简称
///
[DBColumn(ColumnName = "FACTORY_SHORT", DataType = DbType.String)]
public string FACTORY_SHORT { get; set; }
///
///描述
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 公司编号
///
[DBColumn(ColumnName = "CORP_CODE", DataType = DbType.String)]
public string CORP_CODE { get; set; }
///
///公司名称T_MD_CORP表
///
public string CORP_NAME { get; set; }
///
/// 创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
/// 创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
///
/// 更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 删除标识
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
}
}