using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///线索信息其他人员中间表
    ///</summary>
    [SugarTable("mi_violationusers")]
    public partial class MiViolationUsers
    {
           public MiViolationUsers(){


           }
           /// <summary>
           /// Desc:主键
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Id {get;set;}

           /// <summary>
           /// Desc:线索id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ViolationReportId {get;set;}

           /// <summary>
           /// Desc:姓名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:联系方式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Phone {get;set;}

           /// <summary>
           /// Desc:照片
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Image {get;set;}

           /// <summary>
           /// Desc:与本案关系
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string RelationShip {get;set;}

        /// <summary>
        /// 导航属性
        /// </summary>
        [Navigate(NavigateType.OneToMany, nameof(MiOtherpersonImage.PersonId))]
        public List<MiOtherpersonImage> MiOtherpersonImages { get; set; }

    }
}
