添加项目文件。
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
using System.Collections.Generic;
|
||||
using CommonDomain.BaseModel;
|
||||
using UserDomain.Entity;
|
||||
|
||||
namespace AdminService.User.Param
|
||||
{
|
||||
public class BatchSetUserTypeParam
|
||||
{
|
||||
public List<string> UserIds { get; set; } = new List<string>();
|
||||
|
||||
public int UserType { get; set; } = 1;
|
||||
}
|
||||
|
||||
public class BatchSetBlackUserParam
|
||||
{
|
||||
public List<string> UserIds { get; set; } = new List<string>();
|
||||
|
||||
public bool IsBlack { get; set; }
|
||||
}
|
||||
|
||||
public class UpdateUserFactorParam
|
||||
{
|
||||
public string UserId { get; set; } = "";
|
||||
|
||||
public PlayerFactor Factor { get; set; } = new PlayerFactor();
|
||||
}
|
||||
|
||||
public class UpdateUserFactorFlatParam
|
||||
{
|
||||
public string UserId { get; set; } = "";
|
||||
public double ViolateValue { get; set; } = 0.2;
|
||||
public double MissRate { get; set; } = 0;
|
||||
public int CompensateQuota { get; set; } = 0;
|
||||
public int PenaltyQuota { get; set; } = 0;
|
||||
public CompensateRateParam CompensateRate { get; set; } = new CompensateRateParam();
|
||||
public CompensateRateParam PenaltyRate { get; set; } = new CompensateRateParam();
|
||||
|
||||
public double AdditionalFactor { get; set; } = 0;
|
||||
}
|
||||
|
||||
public class BatchDeleteUserParam
|
||||
{
|
||||
public List<string> UserIds { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
public class UpdateUserFactorPartialParam
|
||||
{
|
||||
public string UserId { get; set; } = "";
|
||||
public double? ViolateValue { get; set; }
|
||||
public double? MissRate { get; set; }
|
||||
public int? CompensateQuota { get; set; }
|
||||
public int? PenaltyQuota { get; set; }
|
||||
public CompensateRateParam CompensateRate { get; set; }
|
||||
public CompensateRateParam PenaltyRate { get; set; }
|
||||
public bool? IsBlack { get; set; }
|
||||
public bool? IsIgnore { get; set; }
|
||||
public long? StartingBonus { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user