using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace AspNetCoreMvc.Models.Entity
{
    public class Students
    {
        [Key]
        public int Id { get; set; }

        [MaxLength(60)]
        public string Name { get; set; }

        [MaxLength(2)]
        public string Sex { get; set; }

        [MaxLength(30)]
        public string Phone { get; set; }
    }
}
