chore(config): split NormalBonusEntry, strengthen Normal-defaults warning
File-per-class convention + explicit warning against the property-initializer collection-default bug class (2026-05-24).
This commit is contained in:
12
SVSim.Database/Models/Config/NormalBonusEntry.cs
Normal file
12
SVSim.Database/Models/Config/NormalBonusEntry.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using SVSim.Database.Enums;
|
||||
|
||||
namespace SVSim.Database.Models.Config;
|
||||
|
||||
public class NormalBonusEntry
|
||||
{
|
||||
public int Day { get; set; }
|
||||
public int EffectId { get; set; } = 1;
|
||||
public UserGoodsType RewardType { get; set; }
|
||||
public long RewardDetailId { get; set; }
|
||||
public int RewardNumber { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user