using cylsg.Core;
|
using cylsg.Core.Attributes;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace cylsg.Model.OrderModel
|
{
|
/// <summary>
|
/// 工人工作明细表
|
/// </summary>
|
[Description("工人工作明细表")]
|
[CoderFirst]
|
public class OrderBiddingDetail : BaseModel
|
{
|
/// <summary>
|
/// 工人工作明细表Id
|
/// </summary>
|
[SugarColumn(ColumnDescription = "工人工作明细表Id", IsPrimaryKey = true, IsIdentity = true)]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 工人投递id
|
/// </summary>
|
[SugarColumn(ColumnDescription = "工人投递id")]
|
public int OrderBiddingId { get; set; }
|
|
/// <summary>
|
/// 工作日期
|
/// </summary>
|
[SugarColumn(ColumnDescription = "工作日期", IsNullable = true)]
|
public DateTime? WorkDate { get; set; }
|
|
/// <summary>
|
/// 工作时长
|
/// </summary>
|
[SugarColumn(ColumnDescription = "工作时长", Length = 18, DecimalDigits = 2, IsNullable = true)]
|
public decimal? WorkTime { get; set; }
|
|
/// <summary>
|
/// 计件数量
|
/// </summary>
|
[SugarColumn(ColumnDescription = "计件数量", Length = 18, DecimalDigits = 2, IsNullable = true)]
|
public decimal? WorkCount { get; set; }
|
|
/// <summary>
|
/// 当日工资
|
/// </summary>
|
[SugarColumn(ColumnDescription = "当日工资", Length = 18, DecimalDigits = 2, IsNullable = true)]
|
public decimal? TodaySalary { get; set; }
|
|
/// <summary>
|
/// 审批状态
|
/// </summary>
|
[SugarColumn(ColumnDescription = "审批状态", IsNullable = true)]
|
public int? IsShenPi { get; set; }
|
|
/// <summary>
|
/// 审批时间
|
/// </summary>
|
[SugarColumn(ColumnDescription = "审批时间", IsNullable = true)]
|
public DateTime? ShenPitime { get; set; }
|
|
|
/// <summary>
|
/// 是否提现
|
/// </summary>
|
[SugarColumn(ColumnDescription = "是否提现", IsNullable = true)]
|
public bool? IsTiXian { get; set; }
|
|
/// <summary>
|
/// 提现时间
|
/// </summary>
|
[SugarColumn(ColumnDescription = "提现时间", IsNullable = true)]
|
public DateTime? TiXiantime { get; set; }
|
}
|
|
|
|
/// <summary>
|
/// 审批状态
|
/// </summary>
|
public enum IsShenPis
|
{
|
/// <summary>
|
///保存
|
/// </summary>
|
baocun = 0,
|
/// <summary>
|
///提交
|
/// </summary>
|
tijiao = 1,
|
/// <summary>
|
///已审批
|
/// </summary>
|
yishenpi = 2
|
|
}
|
}
|