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;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace Cicm.Database.Models
|
namespace Cicm.Database.Models
|
||||||
{
|
{
|
||||||
public class CompanyLogo : BaseModel<int>
|
public class CompanyLogo : BaseModel<int>
|
||||||
{
|
{
|
||||||
public int CompanyId { get; set; }
|
public int CompanyId { get; set; }
|
||||||
|
[Range(1000, 3000)]
|
||||||
public int? Year { get; set; }
|
public int? Year { get; set; }
|
||||||
public Guid Guid { get; set; }
|
public Guid Guid { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user