168 lines
4.6 KiB
C#
168 lines
4.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
using WMS.Attirubte;
|
|
|
|
namespace WMS.Model.Strategy
|
|
{
|
|
/// <summary>
|
|
/// 自动指派任务策略
|
|
/// <summary>
|
|
[Serializable]
|
|
[TableClmAttribute(TableName = "T_STR_AUTOTASK")]
|
|
public class AutoTaskModel
|
|
{
|
|
#region Model
|
|
private string _strategy_id;
|
|
private string _tran_type;
|
|
private string _task_type;
|
|
private string _work_type;
|
|
private string _strategy_name;
|
|
private string _is_auto;
|
|
private string _is_autocreate;
|
|
private decimal _task_count;
|
|
private string _auto_according;
|
|
private string _remark;
|
|
private string _status;
|
|
private string _version;
|
|
private string _user_id;
|
|
private DateTime _create_date;
|
|
|
|
/// <summary>
|
|
/// 策略编号
|
|
/// </summary>
|
|
[DisplayName("策略编号")]
|
|
[TableClm(NoSelect = false)]
|
|
public string STRATEGY_ID
|
|
{
|
|
set { _strategy_id = value; }
|
|
get { return _strategy_id; }
|
|
}
|
|
/// <summary>
|
|
/// 事务类型
|
|
/// </summary>
|
|
[DisplayName("事务类型")]
|
|
[TableClmAttribute(JoinTableClmName = "WORK_ID", JoinTableClm = "WORK_NAME", ClmJoinTable = "t_base_worktype")]
|
|
public string TRAN_TYPE
|
|
{
|
|
set { _tran_type = value; }
|
|
get { return _tran_type; }
|
|
}
|
|
/// <summary>
|
|
/// 工种类型
|
|
/// </summary>
|
|
[DisplayName("工种类型")]
|
|
[TableClmAttribute(JoinTableClmName = "WORK_ID", JoinTableClm = "WORK_NAME", ClmJoinTable = "t_base_worktype")]
|
|
public string WORK_TYPE
|
|
{
|
|
set { _work_type = value; }
|
|
get { return _work_type; }
|
|
}
|
|
/// <summary>
|
|
/// 策略名称
|
|
/// </summary>
|
|
[DisplayName("策略名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string STRATEGY_NAME
|
|
{
|
|
set { _strategy_name = value; }
|
|
get { return _strategy_name; }
|
|
}
|
|
/// <summary>
|
|
/// 是否自动指派任务 1 是 0 否
|
|
/// </summary>
|
|
[DisplayName("是否自动指派任务")]
|
|
[TableClm(NoSelect = false)]
|
|
public string IS_AUTO
|
|
{
|
|
set { _is_auto = value; }
|
|
get { return _is_auto; }
|
|
}
|
|
/// <summary>
|
|
/// 是否自动创建任务 1 是 0 否
|
|
/// </summary>
|
|
[DisplayName("是否自动创建任务")]
|
|
[TableClm(NoSelect = false)]
|
|
public string IS_AUTOCREATE
|
|
{
|
|
set { _is_autocreate = value; }
|
|
get { return _is_autocreate; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 件数
|
|
/// </summary>
|
|
[DisplayName("件数")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal TASK_COUNT
|
|
{
|
|
set { _task_count = value; }
|
|
get { return _task_count; }
|
|
}
|
|
/// <summary>
|
|
/// 指派依据
|
|
/// </summary>
|
|
[DisplayName("指派依据")]
|
|
[TableClm(NoSelect = false)]
|
|
public string AUTO_ACCORDING
|
|
{
|
|
set { _auto_according = value; }
|
|
get { return _auto_according; }
|
|
}
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[DisplayName("备注")]
|
|
[TableClm(NoSelect = false)]
|
|
public string REMARK
|
|
{
|
|
set { _remark = value; }
|
|
get { return _remark; }
|
|
}
|
|
/// <summary>
|
|
/// 状态 1 启用 0
|
|
/// </summary>
|
|
[DisplayName("状态")]
|
|
[TableClm(NoSelect = false)]
|
|
public string STATUS
|
|
{
|
|
set { _status = value; }
|
|
get { return _status; }
|
|
}
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[DisplayName("版本号")]
|
|
[TableClm(NoSelect = false)]
|
|
public string VERSION
|
|
{
|
|
set { _version = value; }
|
|
get { return _version; }
|
|
}
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[DisplayName("创建人")]
|
|
[TableClm(NoSelect = false)]
|
|
public string USER_ID
|
|
{
|
|
set { _user_id = value; }
|
|
get { return _user_id; }
|
|
}
|
|
/// <summary>
|
|
/// 创建日期
|
|
/// </summary>
|
|
[DisplayName("创建日期")]
|
|
[TableClm(NoSelect = false)]
|
|
public DateTime CREATE_DATE
|
|
{
|
|
set { _create_date = value; }
|
|
get { return _create_date; }
|
|
}
|
|
#endregion Model
|
|
|
|
}
|
|
}
|