using System;
using System.Collections.Generic;
using System.Linq;
using cylsg.Model.ECTEModel;
using SqlSugar;
namespace Models
{
///
/// 预约提醒
///
[SugarTable("OA_DeliverTixing")]
public class OA_DeliverTixing
{
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Keyid" ,IsPrimaryKey = true,IsIdentity = true) ]
public int? Keyid { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="FirmId" ) ]
public Guid? FirmId { get; set; }
///
/// 员工
///
[Navigate(NavigateType.OneToOne, nameof(Creater), nameof(OaStaff.MemberId))]
public OaStaff? SentStaff { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Remark" ) ]
public string? Remark { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Chulistatus" ) ]
public AppointmentDeliverState? Chulistatus { get; set; } = AppointmentDeliverState.unAccept;
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="ChuliRen" ) ]
public Guid? ChuliRen { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="ChuliTime" ) ]
public DateTime? ChuliTime { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Creater" ) ]
public Guid? Creater { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="CreateTime" ) ]
public DateTime? CreateTime { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Updater" ) ]
public Guid? Updater { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="LastUpdateTime" ) ]
public DateTime? LastUpdateTime { get; set; }
///
/// 派车ID
///
public Guid? DeliverPlanPaicheId { get; set; }
///
/// 派车单
///
[Navigate(NavigateType.OneToOne, nameof(DeliverPlanPaicheId), nameof(OA_DeliverPlanPaiche.Keyid))]
public OA_DeliverPlanPaiche? Paiche { get; set; }
}
///
/// 预约消息状态
///
public enum AppointmentDeliverState
{
///
/// 未受理
///
unAccept,
///
/// 受理
///
Accept=2
}
}