using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using YD_WeChatApplet.Api.SmartSportsEntitys;
namespace YD_WeChatApplet.Api.Entitys
{
///
/// 个人目标表
///
[Table("WCA_PersonalGoal")]
public class WCA_PersonalGoal
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
///
///用户Id
///
[Display(Name = "用户Id")]
[Comment("用户Id")]
[Column(TypeName = "int")]
public int UserId { get; set; }
///
/// 目标时长
///
[Display(Name = "目标时长")]
[Comment("目标时长")]
[Column(TypeName = "int")]
public int GoalDuration { get; set; }
///
/// 目标数量
///
[Display(Name = "目标数量")]
[Comment("目标数量")]
[Column(TypeName = "int")]
public int GoalAmount { get; set; }
///
///目标日期
///
[Display(Name = "目标日期")]
[Comment("目标日期")]
[Column(TypeName = "datetime")]
public DateTime GoalDate { get; set; }
}
}