using System;
using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities
{
///
///班次资料
///
[SugarTable("bas_shift")]
public partial class BasShift
{
public BasShift(){
}
///
/// Desc:编号
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
public string id {get;set;} = SnowflakeIdHelper.NextId();
///
/// Desc:租户ID
/// Default:NULL::character varying
/// Nullable:True
///
public string? tenant_id {get;set;}
///
/// Desc:所属组织
/// Default:NULL::character varying
/// Nullable:True
///
public string? org_id {get;set;}
///
/// Desc:班次代码
/// Default:
/// Nullable:False
///
public string shift_code {get;set;} = string.Empty;
///
/// Desc:班次名称
/// Default:
/// Nullable:False
///
public string shift_name {get;set;} = string.Empty;
///
/// Desc:所属班制ID,BAS_SHIFTTYPE.ID
/// Default:NULL::character varying
/// Nullable:True
///
public string? shifttype_id {get;set;}
///
/// Desc:所属班制代码
/// Default:
/// Nullable:False
///
public string shifttype_code {get;set;} = string.Empty;
///
/// Desc:开始时间
/// Default:
/// Nullable:False
///
public string shiftb_time {get;set;} = string.Empty;
///
/// Desc:结束时间
/// Default:
/// Nullable:False
///
public string shifte_time {get;set;} = string.Empty;
///
/// Desc:是否跨天
/// Default:
/// Nullable:False
///
public string is_overday {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;}
}
}