34 lines
850 B
C#
34 lines
850 B
C#
using System;
|
|
using FreeSql.DataAnnotations;
|
|
using ZhonTai.Admin.Core.Entities;
|
|
using NPP.SmartSchedue.Api.Contracts.Core.Consts;
|
|
|
|
namespace NPP.SmartSchedue.Api.Contracts.Domain.Personnel;
|
|
|
|
/// <summary>
|
|
/// 人员工作限制
|
|
/// </summary>
|
|
[Table(Name = DbConsts.TableNamePrefix + "personnel_work_limit")]
|
|
public partial class PersonnelWorkLimitEntity : EntityTenant
|
|
{
|
|
/// <summary>
|
|
/// 人员ID
|
|
/// </summary>
|
|
public long PersonnelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 连续工作日限制
|
|
/// </summary>
|
|
public int? MaxContinuousWorkDays { get; set; }
|
|
|
|
/// <summary>
|
|
/// 当周最大排班次数
|
|
/// </summary>
|
|
public int? MaxShiftsPerWeek { get; set; }
|
|
|
|
/// <summary>
|
|
/// 特殊限制规则
|
|
/// </summary>
|
|
[Column(StringLength = 200)]
|
|
public string SpecialRule { get; set; }
|
|
} |