Set value constraints for company logo year.

This commit is contained in:
2019-05-19 21:13:49 +01:00
parent 92ca989058
commit 23c2af9b0d

View File

@@ -29,12 +29,14 @@
*******************************************************************************/
using System;
using System.ComponentModel.DataAnnotations;
namespace Cicm.Database.Models
{
public class CompanyLogo : BaseModel<int>
{
public int CompanyId { get; set; }
[Range(1000, 3000)]
public int? Year { get; set; }
public Guid Guid { get; set; }