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.

292 lines
6.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.Core.Enums
{
/// <summary>
/// 箱管 箱上线状态
/// </summary>
public enum CM_IsOnlineEnum
{
/// <summary>
/// 已上线
/// </summary>
4 months ago
[Description("上线")]
线 = 1,
/// <summary>
/// 确认
/// </summary>
[Description("待上线")]
线 = 0,
/// <summary>
/// 提交审核
/// </summary>
[Description("下线")]
线 = -1,
}
/// <summary>
4 months ago
/// 箱管 箱来源
/// </summary>
4 months ago
public enum CM_CtnSourceEnum
{
/// <summary>
/// 自有箱
/// </summary>
[Description("自有箱")]
= 0,
/// <summary>
/// 短租租入
/// </summary>
[Description("短租租入")]
= 1,
/// <summary>
/// 长租租入
/// </summary>
[Description("长租租入")]
= 2,
4 months ago
}
/// <summary>
/// 箱管 当前业务类型
/// </summary>
public enum CM_CtnBizStateEnum
{
///// <summary>
///// 自有箱
///// </summary>
//[Description("自有箱")]
//自有箱 = 0,
/// <summary>
/// 短租租入
/// </summary>
[Description("短租租入")]
= 1,
/// <summary>
/// 长租租入
/// </summary>
[Description("长租租入")]
= 2,
/// <summary>
/// 单程业务
/// </summary>
[Description("单程业务")]
= 3,
/// <summary>
/// 买箱
/// </summary>
[Description("买箱")]
= 4,
/// <summary>
/// 卖箱
/// </summary>
[Description("卖箱")]
= 5,
4 months ago
/// <summary>
/// 短租租出
/// </summary>
[Description("短租租出")]
= 6,
/// <summary>
/// 长租租入
/// </summary>
[Description("长租租出")]
= 7,
}
/// <summary>
/// 箱管 业务审核状态
/// </summary>
public enum CMBillStatusEnum
{
/// <summary>
/// 录入状态
/// </summary>
[Description("录入状态")]
= 1,
/// <summary>
/// 确认
/// </summary>
[Description("确认")]
= 0,
/// <summary>
/// 提交审核
/// </summary>
[Description("提交审核")]
= 2,
}
/// <summary>
/// 箱管 箱状态
/// </summary>
public enum CMCtnStateEnum
{
/// <summary>
/// 可用
/// </summary>
[Description("可用")]
AV = 1,
/// <summary>
/// 已订
/// </summary>
[Description("已订")]
BK = 2,
/// <summary>
/// 在途
/// </summary>
[Description("在途")]
POS = 3,
/// <summary>
/// 损坏
/// </summary>
[Description("损坏")]
DM = -1,
/// <summary>
/// 维修中
/// </summary>
[Description("维修中")]
REP = 0,
}
/// <summary>
/// 箱管 箱可用状态
/// </summary>
public enum CMCtnBreakStateEnum
{
/// <summary>
/// 可用
/// </summary>
[Description("可用")]
AV = 1,
/// <summary>
/// 已订
/// </summary>
/// <summary>
/// 损坏
/// </summary>
[Description("损坏")]
DM = -1,
/// <summary>
/// 维修中
/// </summary>
//[Description("维修中")]
//REP = 0,
}
/// <summary>
/// 箱管 箱可用状态
/// </summary>
public enum CMUsedStateEnum
{
/// <summary>
/// 旧箱
/// </summary>
4 months ago
[Description("可用")]
AV = 1,
[Description("损坏")]
DM = -1,
/// <summary>
/// 新箱
/// </summary>
[Description("新箱")]
REP = 0,
}
/// <summary>
/// 箱变动来源枚举
/// </summary>
public enum CMChangeSourceEnum
{
/// <summary>
/// 手动批量变动
/// </summary>
[Description("手动批量变动")]
= 0,
/// <summary>
/// 租箱租入
/// </summary>
[Description("租箱租入")]
= 1,
/// <summary>
/// 租箱租出
/// </summary>
[Description("租箱租出")]
= 2,
/// <summary>
/// 买箱
/// </summary>
[Description("买箱")]
=3,
/// <summary>
/// 卖箱
/// </summary>
[Description("卖箱")]
= 4,
/// <summary>
/// 报废
/// </summary>
[Description("报废箱")]
= 5,
}
/// <summary>
/// 租箱退租
/// </summary>
public enum CMRentDirectEnum
{
/// <summary>
/// 租入
/// </summary>
[Description("租入")]
= 0,
/// <summary>
/// 退租
/// </summary>
[Description("租入退租")]
退 = 1,
/// <summary>
/// 租出
/// </summary>
[Description("租出")]
= 2,
/// <summary>
/// 租出退租
/// </summary>
[Description("租出退租")]
退 = 3,
}
/// <summary>
/// 租箱类型 长租短租
/// </summary>
public enum CMRentTypeEnum
{
/// <summary>
/// 长租
/// </summary>
[Description("长租")]
= 1,
/// <summary>
/// 短租
/// </summary>
[Description("短租")]
= 0,
/// <summary>
/// 单程
/// </summary>
[Description("单程")]
= 2,
}
}