using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.Groups
{
///
/// 提成表
///
[SugarTable("Grp_Ommission")]
public class Grp_Ommission:EntityBase
{
///
/// 员工ID
///
[SugarColumn(IsNullable =true,ColumnDataType ="int")]
public int Personnel { get; set; }
///
/// 团组ID
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Diid { get; set; }
///
/// 团组结束时间,即团组最后一天
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string GroupDate { get; set; }
///
/// 团组级别
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string GroupLvl { get; set; }
///
/// 提成明细
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(300)")]
public string Detail { get; set; }
///
/// 提成金额
///
[SugarColumn(IsNullable = true, ColumnDataType = "decimal(18,2)")]
public decimal Money { get; set; }
///
/// 提成发放至工资的月份
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string WageYearMonth { get; set; }
///
/// 造成损失标识
/// 0=未造成
/// 1=造成
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsMakeLoss { get; set; }
///
/// 亏损或无利润团组
/// 0=未亏损
/// 1=亏损
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsLoss { get; set; }
}
}