5ac45a7828
...prima delel modifiche che scombinano del tutto il DB...)
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace StockManMVC.Models
|
|
{
|
|
public class ItemsMetadata
|
|
{
|
|
[StringLength(250)]
|
|
[Display(Name = "Descrizione Articolo")]
|
|
public string Descr;
|
|
|
|
[StringLength(50)]
|
|
[Display(Name = "Famiglia Articolo")]
|
|
public string Family;
|
|
|
|
[StringLength(250)]
|
|
[Display(Name = "Descrizione Articolo Ext")]
|
|
public string DescrExt;
|
|
|
|
[StringLength(250)]
|
|
[Display(Name = "Cod Articolo Ext")]
|
|
public string CodExt;
|
|
|
|
[StringLength(50)]
|
|
[Display(Name = "Cod Articolo Int")]
|
|
public string CodInt;
|
|
|
|
}
|
|
|
|
public class StocksMetadata
|
|
{
|
|
[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
|
|
[DataType(DataType.Date)]
|
|
public Nullable<System.DateTime> dtLastUpd;
|
|
}
|
|
|
|
//public class EnrollmentMetadata
|
|
//{
|
|
// [Range(0, 4)]
|
|
// public Nullable<decimal> Grade;
|
|
//}
|
|
} |