using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using System.Data;
namespace QMAPP.FJC.Entity.Basic
{
[DBTable(TableName = "T_BD_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; }
///
///工厂名称
///
[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_PID", DataType = DbType.String)]
public string CORP_PID { get; set; }
///
/// 公司编号
///
public string CORP_CODE { get; set; }
///
///公司名称T_MD_CORP表
///
public string CORP_NAME { get; set; }
///
/// 创建用户
///
[DBColumn(ColumnName = "CREATEUSR", DataType = DbType.String)]
public string CREATEUSR { get; set; }
public string CREATEUSERNAME { get; set; }
///
/// 创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[DBColumn(ColumnName = "UPDATEUSR", DataType = DbType.String)]
public string UPDATEUSR { get; set; }
public string UPDATEUSERNAME { get; set; }
///
/// 更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 删除标识
///
[DBColumn(ColumnName = "FLAGDEL", DataType = DbType.String)]
public string FLAGDEL { get; set; }
}
}