24 lines
596 B
C#
24 lines
596 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebDoorCreator.Data.DbModels
|
|
{
|
|
[Table("TestTable")]
|
|
public class IdentityTableSeedTest
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int IdUni { get; set; } = 0;
|
|
|
|
[MaxLength(50)]
|
|
public string Campo1 { get; set; } = "";
|
|
|
|
[MaxLength(500)]
|
|
public string Campo2 { get; set; } = "";
|
|
}
|
|
}
|