using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.WMS.Core.Op.Entity;
using Masuit.Tools.Systems;
using SqlSugar;
using System.ComponentModel;
namespace DS.WMS.ContainerManagement.Info.Dtos;
///
/// 费用状态 返回实体base
///
public class BussinessStateRes: BaseFieldRes
{
///
/// Desc:是否业务锁定
///
public bool? IsBusinessLocking { get; set; } = false;
///
/// Desc:是否费用锁定
///
public bool? IsFeeLocking { get; set; } = false;
///
/// 应收费用状态
///
public BillFeeStatus? ARFeeStatus { get; set; }
///
/// 应收费用状态描述
///
public string ARFeeStatusName => ARFeeStatus?.GetDescription();
///
/// 应付费用状态
///
public BillFeeStatus? APFeeStatus { get; set; }
///
/// 应付费用状态描述
///
public string APFeeStatusName => APFeeStatus?.GetDescription();
///
/// 应收开票状态
///
public BillInvoiceStatus? ARInvoiceStatus { get; set; }
///
/// 应收费用状态描述
///
public string ARInvoiceStatusName => ARInvoiceStatus?.GetDescription();
///
/// 应付开票状态
///
public BillInvoiceStatus? APInvoiceStatus { get; set; }
///
/// 应付费用状态描述
///
public string APInvoiceStatusName => APInvoiceStatus?.GetDescription();
///
/// 应收对账状态
///
public BillCheckStatusEnum? ARCheckStatus { get; set; }
///
/// 应收对账状态描述
///
public string ARCheckStatusName => ARCheckStatus?.GetDescription();
}
public class BaseFieldRes
{
///
/// 创建时间
///
[Description("创建时间")]
public DateTime CreateTime { get; set; }
///
/// 创建人
///
[Description("创建人")]
public long CreateBy { get; set; }
///
/// 创建人名称
///
[Description("创建人名称")]
public string CreateUserName { get; set; }
///
/// 修改人
///
[Description("修改人")]
public long UpdateBy { get; set; }
///
/// 修改人名称
///
[Description("修改人名称")]
public string UpdateUserName { get; set; }
///
/// 更新时间
///
[Description("更新时间")]
public DateTime UpdateTime { get; set; }
///
/// 删除
///
[Description("删除")]
public bool Deleted { get; set; } = false;
///
/// 删除人名称
///
[Description("删除人名称")]
public string DeleteUserName { get; set; }
///
/// 删除时间
///
[Description("删除时间")]
public DateTime DeleteTime { get; set; }
///
/// 删除人
///
[Description("删除人")]
public long DeleteBy { get; set; }
///
/// OrgId
///
public long? OrgId { get; set; }
///
/// OrgName
///
[Description("OrgName")]
public string OrgName { get; set; }
}