init commit
This commit is contained in:
41
20220330_Vote/Ewide.Core/Entity/SysEmpPos.cs
Normal file
41
20220330_Vote/Ewide.Core/Entity/SysEmpPos.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using Furion.DatabaseAccessor;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Ewide.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 员工职位表
|
||||
/// </summary>
|
||||
[Table("sys_emp_pos")]
|
||||
[Comment("员工职位表")]
|
||||
public class SysEmpPos : IEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 员工Id
|
||||
/// </summary>
|
||||
[Comment("员工Id")]
|
||||
[Column("SysEmpId", TypeName = "varchar(36)")]
|
||||
public string SysEmpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 一对一引用(员工)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public SysEmp SysEmp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 职位Id
|
||||
/// </summary>
|
||||
[Comment("职位Id")]
|
||||
[Column("SysPosId", TypeName = "varchar(36)")]
|
||||
public string SysPosId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 一对一引用(职位)
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public SysPos SysPos { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user