浏览器推荐修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0c7495870b
commit
6264d105ab
|
@ -43,7 +43,9 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
///<summary> ExploreRecommendAddOrEdit 列表查询参数模型</summary>
|
///<summary> ExploreRecommendAddOrEdit 列表查询参数模型</summary>
|
||||||
public class ExploreRecommendAddOrEdit
|
public class ExploreRecommendAddOrEdit
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public Guid? Id { get; set; }
|
||||||
|
public string ExploreType { get; set; }
|
||||||
|
|
||||||
public string Version { get; set; }
|
public string Version { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,9 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
var verifyExp2 = new EntityVerifyExp<ExploreRecommend>()
|
var verifyExp2 = new EntityVerifyExp<ExploreRecommend>()
|
||||||
{
|
{
|
||||||
VerifyExp = u => u.IsDeleted == addOrEditExploreRecommend.IsDeleted,
|
VerifyExp = u => u.IsDeleted == addOrEditExploreRecommend.IsDeleted && u.ExploreType == addOrEditExploreRecommend.ExploreType,
|
||||||
|
|
||||||
VerifyMsg = "当前启用版本只允许有一个",
|
VerifyMsg = "当前浏览器启用版本只允许有一个",
|
||||||
|
|
||||||
IsVerify = addOrEditExploreRecommend.IsDeleted == false
|
IsVerify = addOrEditExploreRecommend.IsDeleted == false
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,8 +15,10 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[Table("ExploreRecommend")]
|
[Table("ExploreRecommend")]
|
||||||
public class ExploreRecommend : Entity, IAuditUpdate, IAuditAdd,ISoftDelete
|
public class ExploreRecommend : Entity, IAuditUpdate, IAuditAdd,ISoftDelete
|
||||||
{
|
{
|
||||||
|
public string ExploreType { get; set; } = string.Empty;
|
||||||
public string Version { get; set; }=string.Empty;
|
|
||||||
|
|
||||||
|
public string Version { get; set; }=string.Empty;
|
||||||
|
|
||||||
|
|
||||||
public string Title { get; set; } = string.Empty;
|
public string Title { get; set; } = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue