You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
3.4 KiB
C#

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;
/// <summary>
/// 费用状态 返回实体base
/// </summary>
public class BussinessStateRes: BaseFieldRes
{
/// <summary>
/// Desc:是否业务锁定
/// </summary>
public bool? IsBusinessLocking { get; set; } = false;
/// <summary>
/// Desc:是否费用锁定
/// </summary>
public bool? IsFeeLocking { get; set; } = false;
/// <summary>
/// 应收费用状态
/// </summary>
public BillFeeStatus? ARFeeStatus { get; set; }
/// <summary>
/// 应收费用状态描述
/// </summary>
public string ARFeeStatusName => ARFeeStatus?.GetDescription();
/// <summary>
/// 应付费用状态
/// </summary>
public BillFeeStatus? APFeeStatus { get; set; }
/// <summary>
/// 应付费用状态描述
/// </summary>
public string APFeeStatusName => APFeeStatus?.GetDescription();
/// <summary>
/// 应收开票状态
/// </summary>
public BillInvoiceStatus? ARInvoiceStatus { get; set; }
/// <summary>
/// 应收费用状态描述
/// </summary>
public string ARInvoiceStatusName => ARInvoiceStatus?.GetDescription();
/// <summary>
/// 应付开票状态
/// </summary>
public BillInvoiceStatus? APInvoiceStatus { get; set; }
/// <summary>
/// 应付费用状态描述
/// </summary>
public string APInvoiceStatusName => APInvoiceStatus?.GetDescription();
/// <summary>
/// 应收对账状态
/// </summary>
public BillCheckStatusEnum? ARCheckStatus { get; set; }
/// <summary>
/// 应收对账状态描述
/// </summary>
public string ARCheckStatusName => ARCheckStatus?.GetDescription();
}
public class BaseFieldRes
{
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Description("创建人")]
public long CreateBy { get; set; }
/// <summary>
/// 创建人名称
/// </summary>
[Description("创建人名称")]
public string CreateUserName { get; set; }
/// <summary>
/// 修改人
/// </summary>
[Description("修改人")]
public long UpdateBy { get; set; }
/// <summary>
/// 修改人名称
/// </summary>
[Description("修改人名称")]
public string UpdateUserName { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Description("更新时间")]
public DateTime UpdateTime { get; set; }
/// <summary>
/// 删除
/// </summary>
[Description("删除")]
public bool Deleted { get; set; } = false;
/// <summary>
/// 删除人名称
/// </summary>
[Description("删除人名称")]
public string DeleteUserName { get; set; }
/// <summary>
/// 删除时间
/// </summary>
[Description("删除时间")]
public DateTime DeleteTime { get; set; }
/// <summary>
/// 删除人
/// </summary>
[Description("删除人")]
public long DeleteBy { get; set; }
/// <summary>
/// OrgId
/// </summary>
public long? OrgId { get; set; }
/// <summary>
/// OrgName
/// </summary>
[Description("OrgName")]
public string OrgName { get; set; }
}