天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
3.7 KiB

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