using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
///
/// 标签序列号流水记录表
///
[SugarTable("prd_serial_book")]
public partial class PrdSerialBook : BaseEntity
{
public PrdSerialBook()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 条码类型
///
public string sn_type { get; set; } = string.Empty;
///
/// 前缀
///
public string prefix { get; set; } = string.Empty;
///
/// 年度
///
public int year { get; set; }
///
/// 季度
///
public int quarter { get; set; }
///
/// 月份
///
public int month { get; set; }
///
/// 周别
///
public int week { get; set; }
///
/// 日期
///
public int date { get; set; }
///
/// 最大流水号
///
public string max_serial { get; set; } = string.Empty;
///
/// 时间戳
///
public string? time_stamp { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime? create_time { get; set; }
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
}