Explorar el Código

添加枚举

dev_1.0.2
stevelee hace 2 años
padre
commit
8f52120342
Se han modificado 5 ficheros con 65 adiciones y 2 borrados
  1. +1
    -1
      src/BPA.Common.Entity/BPA.Common.Entity/BPA.Common.Entity.csproj
  2. +23
    -0
      src/BPA.Common.Entity/BPA.Common.Entity/BaseMGCreateModel.cs
  3. +20
    -0
      src/BPA.Common.Enums/Annex/EnumAnnexBusinessType.cs
  4. +20
    -0
      src/BPA.Common.Enums/Annex/EnumAnnexType.cs
  5. +1
    -1
      src/BPA.Common.Enums/BPA.Common.Enums.csproj

+ 1
- 1
src/BPA.Common.Entity/BPA.Common.Entity/BPA.Common.Entity.csproj Ver fichero

@@ -3,7 +3,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>1.0.6</VersionPrefix>
<VersionPrefix>1.0.8</VersionPrefix>
<PackageReleaseNotes />
</PropertyGroup>
<ItemGroup>


+ 23
- 0
src/BPA.Common.Entity/BPA.Common.Entity/BaseMGCreateModel.cs Ver fichero

@@ -0,0 +1,23 @@
namespace BPA.Common.Entity;

public class BaseMGCreateModel
{
/// <summary>创建人</summary>
public SimpleEmployeeModel Creator { get; set; }

/// <summary>创建时间</summary>
public DateTime CreateDate { get; set; }
}

public class SimpleEmployeeModel
{
/// <summary>
/// CreateId
/// </summary>
public long CreateId { get; set; }

/// <summary>
/// CreateIdStr
/// </summary>
public string CreateIdStr { get; set; }
}

+ 20
- 0
src/BPA.Common.Enums/Annex/EnumAnnexBusinessType.cs Ver fichero

@@ -0,0 +1,20 @@
using System.ComponentModel;

namespace BPA.Common.Enums.Annex
{
public enum EnumAnnexBusinessType
{
/// <summary>空</summary>
[Description("空")] None = -1,
/// <summary>客户</summary>
[Description("客户")] Customer = 1,
/// <summary>联系人</summary>
[Description("联系人")] Contact = 2,
/// <summary>工作流</summary>
[Description("工作流")] WorkFlow = 3,
/// <summary>产品附件</summary>
[Description("产品附件")] Product = 4,
/// <summary>产品图片/头像</summary>
[Description("产品图片/头像")] ProductPicture = 5,
}
}

+ 20
- 0
src/BPA.Common.Enums/Annex/EnumAnnexType.cs Ver fichero

@@ -0,0 +1,20 @@
using System.ComponentModel;

namespace BPA.Common.Enums.Annex
{
public enum EnumAnnexType
{
/// <summary>文档</summary>
[Description("文档")] Doc,
/// <summary>压缩文件</summary>
[Description("压缩文件")] Compress,
/// <summary>图片</summary>
[Description("图片")] Image,
/// <summary>视频</summary>
[Description("视频")] Video,
/// <summary>音频</summary>
[Description("音频")] Audio,
/// <summary>未知</summary>
[Description("未知")] Unknow,
}
}

+ 1
- 1
src/BPA.Common.Enums/BPA.Common.Enums.csproj Ver fichero

@@ -3,7 +3,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>1.0.8</VersionPrefix>
<VersionPrefix>1.0.9</VersionPrefix>
<PackageReleaseNotes />
</PropertyGroup>
<ItemGroup>


Cargando…
Cancelar
Guardar