Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- 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;
- using HealthMonitor.Util.Entities.Base;
- using HealthMonitor.Util.Entities.Interfaces;
-
- namespace HealthMonitor.Util.Entities.GpsCard
- {
- public partial class GpsBloodPressReferenceValue : GpsCardEntityBase, IKeyIntType
- {
- [Key]
-
- [Required]
- public int Id { get; set; }
-
- [Required]
- // [ForeignKey(nameof(SubjectId))]
- public int Age { get; set; }
-
- [Required]
- public int Gender { get; set; }
-
- [Required]
- public int Systolic { get; set; }
-
- [Required]
- public int Diastolic { get; set; }
-
- public bool Hypertension { get; set; }
-
-
- /// <summary>
- /// 创建时间
- /// </summary>
- [Required]
- public DateTime CreateTime { get; set; } = DateTime.Now;
- /// <summary>
- /// 修改时间
- /// </summary>
- [Required]
- public DateTime UpdateTime { get; set; } = DateTime.Now;
-
-
-
- }
- }
|