using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 产品ESOP文件主档表
///
[SugarTable("bas_product_esop")]
public partial class BasProductEsop : BaseEntity
{
public BasProductEsop()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 文件名
///
public string file_name { get; set; } = string.Empty;
///
/// 文件类型代码
///
public string filetype_code { get; set; } = string.Empty;
///
/// 文件类型名称
///
public string filetype_name { get; set; } = string.Empty;
///
/// 产品代码
///
public string product_id { get; set; } = string.Empty;
///
/// 产品名称
///
public string product_code { get; set; } = string.Empty;
///
/// 是否生效
///
public int is_active { get; set; }
///
/// 时间戳(用于并发控制)
///
public string? timestamp { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
}