155 lines
4.4 KiB
C#
155 lines
4.4 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JNPF.Common.Security;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.BasicData.Entities
|
|
{
|
|
///<summary>
|
|
///休息时段
|
|
///</summary>
|
|
[SugarTable("bas_time_period_rest")]
|
|
public partial class BasTimePeriodRest
|
|
{
|
|
public BasTimePeriodRest(){
|
|
|
|
|
|
}
|
|
/// <summary>
|
|
/// Desc:编号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true)]
|
|
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
|
|
|
/// <summary>
|
|
/// Desc:所属组织
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? org_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:时段代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string tp_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:时段名称
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string tp_name {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:所属班制ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? shift_type_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:所属班制代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? shift_type_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:所属班次ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? shift_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:所属班制代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? shif_tcode {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:时段ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? time_period_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:时段代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? time_period_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:开始时间
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string tp_b_time {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:结束时间
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string tp_e_time {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:备注
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? remark {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:时间戳
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? time_stamp {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:创建用户
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? create_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:创建时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? create_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:修改用户
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? modify_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:修改时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? modify_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:扩展字段
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? extras {get;set;}
|
|
|
|
}
|
|
}
|