mh_custom/wtmProject.Model/WTM_VISIT_PLAN_USER.cs

33 lines
884 B
C#
Raw Normal View History

2024-05-16 17:30:33 +08:00
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 WalkingTec.Mvvm.Core;
namespace wtmProject.Model
{
/// <summary>
/// WTM_VISIT_PLAN_USER
/// </summary>
[Table("WTM_VISIT_PLAN_USER")]
public class WTM_VISIT_PLAN_USER : BasePoco, ITenant
{
public WTM_VISIT_PLAN VisitPlan { get; set; }
[Display(Name = "_Admin.VisitPlan")]
public Guid? VisitPlanId { get; set; }
public FrameworkUser User { get; set; }
[Display(Name = "_Admin.User")]
public Guid? UserId { get; set; }
[Display(Name = "_Admin.Tenant")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string TenantCode { get; set; }
}
}