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

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

/// <summary>
/// 基础日历
/// </summary>
[Table(Name = DbConsts.TableNamePrefix + "calendar")]
public partial class CalendarEntity : EntityTenant
{
    /// <summary>
    /// 日期
    /// </summary>
    public DateTime Date { get; set; }

    /// <summary>
    /// 日期类型
    /// </summary>
    [Column(StringLength = 50)]
    public string DateType { get; set; }

    /// <summary>
    /// 是否工作日
    /// </summary>
    public bool IsWorkDay { get; set; } = true;

    /// <summary>
    /// 特殊日期说明
    /// </summary>
    [Column(StringLength = 200)]
    public string Description { get; set; }
} 