mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set value constraints for company logo year.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user