mirror of https://github.com/abpframework/abp.git
6 changed files with 10 additions and 11 deletions
@ -1,10 +1,11 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.CmsKit.Ratings; |
|||
|
|||
namespace Volo.CmsKit.Public.Ratings |
|||
{ |
|||
public class CreateUpdateRatingInput |
|||
{ |
|||
[Required, Range(1, 5)] |
|||
[Required, Range(RatingConsts.MinStarCount, RatingConsts.MaxStarCount)] |
|||
public short StarCount { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue