using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Tiobon.Core.Model.Models
{
///
///
///
[SugarTable("WeChatSub")]
public partial class WeChatSub
{
[SugarColumn(IsNullable = false,IsPrimaryKey = true)]
public string id { get; set; }
///
/// 来自哪个公众号
///
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string SubFromPublicAccount { get; set; }
///
/// 绑定公司id
///
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string CompanyID { get; set; }
///
/// 绑定员工id
///
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string SubJobID { get; set; }
///
/// 绑定微信id
///
[SugarColumn(Length = 100, IsNullable = false)]
public string SubUserOpenID { get; set; }
///
/// 绑定微信联合id
///
[SugarColumn(Length = 100, IsNullable = true)]
public string SubUserUnionID { get; set; }
///
/// 绑定时间
///
public DateTime SubUserRegTime { get; set; }
///
/// 更新时间
///
[SugarColumn(IsNullable = true)]
public DateTime? SubUserRefTime { get; set; }
///
/// 备注
///
[SugarColumn(Length = 200, IsNullable = true)]
public string SubUserRemark { get; set; }
///
/// 是否已解绑
///
public bool IsUnBind { get; set; }
///
/// 上次绑定微信id
///
[SugarColumn(Length = 100, IsNullable = true)]
public string LastSubUserOpenID { get; set; }
///
/// 创建者id
///
[SugarColumn(IsNullable = true)]
public int? CreateId { get; set; }
///
/// 创建人
///
[SugarColumn(IsNullable = true)]
public string CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
///
/// 修改者id
///
[SugarColumn(IsNullable = true)]
public int? ModifyId { get; set; }
///
/// 修改人
///
[SugarColumn(IsNullable = true)]
public string ModifyBy { get; set; }
///
/// 修改时间
///
[SugarColumn(IsNullable = true)]
public DateTime? ModifyTime { get; set; }
}
}