using System;
using FreeSql.DataAnnotations;
using ZhonTai.Admin.Core.Entities;
using NPP.SmartSchedue.Api.Contracts.Core.Consts;

namespace NPP.SmartSchedue.Api.Contracts.Domain.Work;

/// <summary>
/// 工序组实体
/// </summary>
[Table(Name = DbConsts.TableNamePrefix + "process_group")]
public partial class ProcessGroupEntity : EntityTenant
{
    /// <summary>
    /// 工序组名称
    /// </summary>
    [Column(StringLength = 100)]
    public string GroupName { get; set; }

    /// <summary>
    /// 项目类别
    /// </summary>
    [Column(StringLength = 50)]
    public string ProjectCategory { get; set; }

    /// <summary>
    /// 工序组描述
    /// </summary>
    [Column(StringLength = 500)]
    public string Description { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary>
    public bool IsEnabled { get; set; } = true;

    /// <summary>
    /// 工序组优先级
    /// </summary>
    public int Priority { get; set; } = 1;
} 