using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using System.ComponentModel;
using QMFrameWork.Data.Attributes;
using System.Data;
namespace QMAPP.MD.Entity
{
///
/// 作 用:排班信息
/// 作 者:周晓东
/// 编写日期:2017年11月21日
///
[DBTable(TableName = "T_QT_SCHEDULE", TimeStampColumn = "UPDATEDATE")]
public class ScheduleEntity : BaseEntity
{
///
/// 主键
///
[Description("主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 工厂编号
///
[Description("工厂编号")]
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
///
/// 工厂名称
///
public string FACTORY_NAME { get; set; }
///
///班次信息编号
///
[DBColumn(ColumnName = "SHIFT_CODE", DataType = DbType.String)]
public string SHIFT_CODE { get; set; }
public string SHIFT_NAME { get; set; }
///
/// 班组编码
///
[Description("班组编码")]
[DBColumn(ColumnName = "TEAM_CODE", DataType = DbType.String)]
public string TEAM_CODE { get; set; }
public string TEAM_NAME { get; set; }
///
/// 开始日期
///
[Description("开始日期")]
[DBColumn(ColumnName = "START_DATE", DataType = DbType.Date)]
public DateTime START_DATE { get; set; }
///
/// 结束日期
///
[Description("结束日期")]
[DBColumn(ColumnName = "END_DATE", DataType = DbType.Date)]
public DateTime END_DATE { get; set; }
//当前日期-用于比较
public DateTime NOW_DATE { get; set; }
///
/// 上班时间
///
[Description("上班时间")]
[DBColumn(ColumnName = "WORK_START_TIME", DataType = DbType.DateTime)]
public DateTime WORK_START_TIME { get; set; }
///
/// 下班时间
///
[Description("下班时间")]
[DBColumn(ColumnName = "WORK_END_TIME", DataType = DbType.DateTime)]
public DateTime WORK_END_TIME { get; set; }
///
///描述
///
[Description("描述")]
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 创建用户
///
[Description("创建用户")]
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[Description("更新用户")]
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
///
/// 更新时间
///
[Description("更新时间")]
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
public string TEAM_TYPE { get; set; }
}
}