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 { /// /// 工人工作明细表 /// [Description("工人工作明细表")] [CoderFirst] public class OrderBiddingDetail : BaseModel { /// /// 工人工作明细表Id /// [SugarColumn(ColumnDescription = "工人工作明细表Id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 工人投递id /// [SugarColumn(ColumnDescription = "工人投递id")] public int OrderBiddingId { get; set; } /// /// 工作日期 /// [SugarColumn(ColumnDescription = "工作日期", IsNullable = true)] public DateTime? WorkDate { get; set; } /// /// 工作时长 /// [SugarColumn(ColumnDescription = "工作时长", Length = 18, DecimalDigits = 2, IsNullable = true)] public decimal? WorkTime { get; set; } /// /// 计件数量 /// [SugarColumn(ColumnDescription = "计件数量", Length = 18, DecimalDigits = 2, IsNullable = true)] public decimal? WorkCount { get; set; } /// /// 当日工资 /// [SugarColumn(ColumnDescription = "当日工资", Length = 18, DecimalDigits = 2, IsNullable = true)] public decimal? TodaySalary { get; set; } /// /// 审批状态 /// [SugarColumn(ColumnDescription = "审批状态", IsNullable = true)] public int? IsShenPi { get; set; } /// /// 审批时间 /// [SugarColumn(ColumnDescription = "审批时间", IsNullable = true)] public DateTime? ShenPitime { get; set; } /// /// 是否提现 /// [SugarColumn(ColumnDescription = "是否提现", IsNullable = true)] public bool? IsTiXian { get; set; } /// /// 提现时间 /// [SugarColumn(ColumnDescription = "提现时间", IsNullable = true)] public DateTime? TiXiantime { get; set; } } /// /// 审批状态 /// public enum IsShenPis { /// ///保存 /// baocun = 0, /// ///提交 /// tijiao = 1, /// ///已审批 /// yishenpi = 2 } }