SGGL_SHJ/SGGL/BLL/CLGL/TwConst.cs

58 lines
1.7 KiB
C#
Raw Normal View History

2024-09-18 10:48:34 +08:00
using System.Collections.Generic;
2024-09-24 20:38:50 +08:00
namespace BLL
2024-09-18 10:48:34 +08:00
{
2024-09-24 20:38:50 +08:00
public class TwConst
2024-09-18 10:48:34 +08:00
{
2024-09-24 20:38:50 +08:00
public enum InOutType : int
{
= 1,
= 2,
}
public enum TypeInt : int
{
= 10,
退 = 20,
= 30,
= 40,
= 50,
= 60,
}
public enum Category : int
{
= 0,
= 1,
= 2,
}
public enum State : int
{
= -1,
= 0,
= 1,
= 2,
= 3,
}
public static Dictionary<string, int> TypeIntMap = new Dictionary<string, int>
2024-09-18 10:48:34 +08:00
{
{ "采购入库" ,(int)TypeInt.},
{ "退料入库" ,(int)TypeInt.退},
{ "其他入库" ,(int)TypeInt.},
{ "领料出库" ,(int)TypeInt.},
{ "补料出库" ,(int)TypeInt.},
{ "其他出库" ,(int)TypeInt.}
};
2024-09-24 20:38:50 +08:00
public static Dictionary<string, int> StateMap = new Dictionary<string, int>
2024-09-18 10:48:34 +08:00
{
{ "待提交" ,(int)State.},
{ "待审核" ,(int)State.},
{ "已审核" ,(int)State.},
{ "已完成" ,(int)State.},
{ "审核被拒" ,(int)State.},
};
2024-09-24 20:38:50 +08:00
public static Dictionary<string, int> CategoryMap = new Dictionary<string, int>
2024-09-18 10:48:34 +08:00
{
{ "管件" ,(int)Category.},
2024-09-24 20:38:50 +08:00
{ "管段" ,(int)Category.},
2024-09-18 10:48:34 +08:00
};
2024-09-24 20:38:50 +08:00
}
2024-09-18 10:48:34 +08:00
}