123 lines
3.4 KiB
C#
123 lines
3.4 KiB
C#
|
|
using APT.BaseData.Domain.Entities.FM;
|
|||
|
|
using APT.BaseData.Domain.Enums;
|
|||
|
|
using APT.Infrastructure.Core;
|
|||
|
|
using APT.MS.Domain.Enums;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
|
|||
|
|
namespace APT.MS.Domain.Entities.TL
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 制定任务 什么部门 什么岗位 什么频率 触发待办
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("制定任务")]
|
|||
|
|
public class T_TL_PLAN_SET : MesEntityBase
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 编号
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("编号")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldQuery]
|
|||
|
|
[DataFieldLength(50)]
|
|||
|
|
public string CODE { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 生产作业计划
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("生产作业计划")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldQuery]
|
|||
|
|
[DataFieldLength(200)]
|
|||
|
|
public string NAME { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 部门
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("部门")]
|
|||
|
|
[DataFieldForeignKey("Nav_Department")]
|
|||
|
|
public Guid DEPARTMENT_ID { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 部门(部门级 就保存部门ID 班组级就保存班组ID 应该是同一个表)
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("部门")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldQuery]
|
|||
|
|
public T_FM_DEPARTMENT Nav_Department { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 岗位
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("岗位")]
|
|||
|
|
[DataFieldForeignKey("Nav_Post")]
|
|||
|
|
public Guid POST_ID { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 岗位
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("岗位")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldQuery]
|
|||
|
|
public T_FM_USER_POST Nav_Post { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 部门岗位人员
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("部门岗位人员")]
|
|||
|
|
[DataFieldIngore]
|
|||
|
|
public T_FM_USER Nav_User { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 检查频率
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("检查频率")]
|
|||
|
|
[EnumName("BSPLANCHECKFREQUENCYEnum")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldQuery]
|
|||
|
|
public BSPLANCHECKFREQUENCYEnum PLANCHECKFREQUENCY { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 检查日期(日期 针对单次 有效) 例如:05-01,12-01
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("检查日期")]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
public string RUNDATA { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 检查频率(日 针对每月/每季 有效)
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("日")]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
public int? DATA { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 检查频率(星期 针对每周 有效)
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("星期")]
|
|||
|
|
[EnumName("WEEKDATAEnum")]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
public WEEKDATAEnum? WEEKDATA { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 跑批时间
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("跑批时间")]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
public DateTime RUNSETTIME { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 启用标志
|
|||
|
|
/// </summary>
|
|||
|
|
[Description("启用标志")]
|
|||
|
|
[FormFieldTable]
|
|||
|
|
[FormFieldEdit]
|
|||
|
|
public FMEnableStatusEnum ENABLE_STATUS { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|