// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛 // // SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款: // 1.请不要删除和修改根目录下的LICENSE文件。 // 2.请不要删除和修改SimpleAdmin源码头部的版权声明。 // 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin // 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。 // 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。 // 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。 namespace SimpleAdmin.Application; /// /// 入职业务岗位档案,保存岗位所属部门、默认合同期限、试用期及业务参数。 /// [SugarTable("ob_position", TableDescription = "入职业务岗位")] [Tenant(SqlSugarConst.DB_DEFAULT)] public class ObPosition : BaseEntity { /// /// 所属入职业务公司 Id。 /// public long CompanyId { get; set; } /// /// 所属入职业务部门 Id。 /// [SugarColumn(IsNullable = true)] public long? DepartmentId { get; set; } /// /// 岗位业务编码。 /// public virtual string PositionCode { get; set; } /// /// 岗位名称。 /// public virtual string PositionName { get; set; } /// /// 默认合同期限,单位为年。 /// public decimal? DefaultContractYears { get; set; } /// /// 默认试用期,单位为月。 /// public int? DefaultProbationMonths { get; set; } /// /// 岗位默认合同参数 JSON。 /// public string DefaultParamsJson { get; set; } /// /// 业务备注。 /// public virtual string Remark { get; set; } /// /// 所属公司名称 (展示用) /// [SugarColumn(IsIgnore = true)] public string CompanyName { get; set; } /// /// 所属部门名称 (展示用) /// [SugarColumn(IsIgnore = true)] public string DepartmentName { get; set; } }