using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 系统时间维度
///
[SugarTable("bas_time_dimension")]
public partial class BasTimeDimension : BaseEntity
{
public BasTimeDimension()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 日期
///
public DateTime ddate { get; set; } = DateTime.Now;
///
/// 周别
///
public int dweek { get; set; }
///
/// 周几
///
public int dweekday { get; set; }
///
/// 月份
///
public int dmonth { get; set; }
///
/// 季度
///
public int quarter { get; set; }
///
/// 年份
///
public int year { get; set; }
}