using SqlSugar;
namespace NewPdaSqlServer.entity
{
///
///
///
[SugarTable("MES_STAFF")]
public class MesStaff
{
///
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName="guid" ,IsPrimaryKey = true )]
public Guid Guid { get; set; }
///
/// ID
///
[SugarColumn(ColumnName="id" )]
public int Id { get; set; }
///
/// 员工编码
///
[SugarColumn(ColumnName="staff_no" )]
public string StaffNo { get; set; }
///
/// 员工姓名
///
[SugarColumn(ColumnName="staff_name" )]
public string StaffName { get; set; }
///
/// 部门编码
///
[SugarColumn(ColumnName="department_no" )]
public string DepartmentNo { get; set; }
///
/// 部门名称
///
[SugarColumn(ColumnName="department_name" )]
public string DepartmentName { get; set; }
///
/// 岗位编码
///
[SugarColumn(ColumnName="position_code" )]
public string PositionCode { get; set; }
///
/// 岗位名称
///
[SugarColumn(ColumnName="position_name" )]
public string PositionName { get; set; }
///
/// 手机号
///
[SugarColumn(ColumnName="phone_number" )]
public string PhoneNumber { get; set; }
///
/// 任岗开始日期
///
[SugarColumn(ColumnName="start_date" )]
public DateTime? StartDate { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName="remark" )]
public string Remark { get; set; }
///
/// 自定义字段3
///
[SugarColumn(ColumnName="remark3" )]
public string Remark3 { get; set; }
///
/// 自定义字段4
///
[SugarColumn(ColumnName="remark4" )]
public string Remark4 { get; set; }
///
/// 自定义字段5
///
[SugarColumn(ColumnName="remark5" )]
public string Remark5 { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName="create_by" )]
public string CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName="create_date" )]
public DateTime? CreateDate { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName="lastupdate_by" )]
public string LastupdateBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName="lastupdate_date" )]
public DateTime? LastupdateDate { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName="memo" )]
public string Memo { get; set; }
///
/// 生产线
///
[SugarColumn(ColumnName="line_no" )]
public string LineNo { get; set; }
///
/// 生产员工标识
/// 默认值: ((1))
///
[SugarColumn(ColumnName="work_mk" )]
public int? WorkMk { get; set; }
///
/// 是否禁用
///
[SugarColumn(ColumnName="fforbid_status" )]
public string FforbidStatus { get; set; }
///
/// 创建组织
///
[SugarColumn(ColumnName="Fumbrella" )]
public string Fumbrella { get; set; }
///
/// 使用组织
///
[SugarColumn(ColumnName="FSubsidiary" )]
public string FSubsidiary { get; set; }
}
}