using System;
using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities
{
///
///产品类别
///
[SugarTable("bas_product_category")]
public partial class BasProductCategory
{
public BasProductCategory(){
}
///
/// Desc:编号
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
public string id {get;set;} = SnowflakeIdHelper.NextId();
///
/// Desc:所属组织
/// Default:NULL::character varying
/// Nullable:True
///
public string? org_id {get;set;}
///
/// Desc:父产品列表ID
/// Default:NULL::character varying
/// Nullable:True
///
public string? parent_id {get;set;}
///
/// Desc:分类代码
/// Default:
/// Nullable:False
///
public string category_code {get;set;} = string.Empty;
///
/// Desc:分类名称
/// Default:
/// Nullable:False
///
public string category_name {get;set;} = string.Empty;
///
/// Desc:备注
/// Default:NULL::character varying
/// Nullable:True
///
public string? remark {get;set;}
///
/// Desc:时间戳(用于并发控制)
/// Default:NULL::character varying
/// Nullable:True
///
public string? timestamp {get;set;}
///
/// Desc:创建用户
/// Default:NULL::character varying
/// Nullable:True
///
public string? create_id {get;set;}
///
/// Desc:创建时间
/// Default:
/// Nullable:False
///
public DateTime create_time {get;set;}
///
/// Desc:修改用户
/// Default:NULL::character varying
/// Nullable:True
///
public string? modify_id {get;set;}
///
/// Desc:修改时间
/// Default:
/// Nullable:True
///
public DateTime? modify_time {get;set;}
///
/// Desc:扩展字段
/// Default:
/// Nullable:True
///
public string? extras {get;set;}
///
/// Desc:不良代码组
/// Default:
/// Nullable:True
///
public string? errorcode {get;set;}
///
/// Desc:不良原因组
/// Default:
/// Nullable:True
///
public string? errorcause {get;set;}
///
/// Desc:解决方案组
/// Default:
/// Nullable:True
///
public string? errorsolution {get;set;}
///
/// Desc:包含组件组
/// Default:
/// Nullable:True
///
public string? component {get;set;}
}
}