using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Models
{
///
/// 办公系统合作客户
///
[SugarTable("OA_CorporateClients")]
public class OA_CorporateClients
{
///
/// 备 注:数据编号
/// 默认值:
///
[SugarColumn(ColumnName="Keyid" ,IsPrimaryKey = true) ]
public Guid Keyid { get; set; }
///
/// 备 注:关联厂商
/// 默认值:
///
[SugarColumn(ColumnName="FirmId" ) ]
public Guid FirmId { get; set; }
///
/// 备 注:客户编号
/// 默认值:
///
[SugarColumn(ColumnName="CustomerId" ) ]
public int? CustomerId { get; set; }
///
/// 备 注:公司全称
/// 默认值:
///
[SugarColumn(ColumnName="CompanyName" ) ]
public string? CompanyName { get; set; }
///
/// 备 注:客户行业编号
/// 默认值:
///
[SugarColumn(ColumnName="CustomerIndustriesId" ) ]
public int? CustomerIndustriesId { get; set; }
///
/// 备 注:客户类型编号
/// 默认值:
///
[SugarColumn(ColumnName="CustomerTypeId" ) ]
public int? CustomerTypeId { get; set; }
///
/// 备 注:信息来源编号
/// 默认值:
///
[SugarColumn(ColumnName="SourcesInfoId" ) ]
public int? SourcesInfoId { get; set; }
///
/// 备 注:重要程度编号
/// 默认值:
///
[SugarColumn(ColumnName="DegreeImportanId" ) ]
public int? DegreeImportanId { get; set; }
///
/// 备 注:客户经理编号
/// 默认值:
///
[SugarColumn(ColumnName="AccountManagerId" ) ]
public int? AccountManagerId { get; set; }
///
/// 备 注:业务经理编号
/// 默认值:
///
[SugarColumn(ColumnName="BusinessManagerId" ) ]
public int? BusinessManagerId { get; set; }
///
/// 备 注:建立时间
/// 默认值:
///
[SugarColumn(ColumnName="CreateTime" ) ]
public DateTime? CreateTime { get; set; }
///
/// 备 注:信誉编号
/// 默认值:
///
[SugarColumn(ColumnName="CreditId" ) ]
public int? CreditId { get; set; }
///
/// 备 注:登录手机
/// 默认值:
///
[SugarColumn(ColumnName="LoginPhone" ) ]
public string? LoginPhone { get; set; }
///
/// 备 注:企业网站
/// 默认值:
///
[SugarColumn(ColumnName="CorporateWebsite" ) ]
public string? CorporateWebsite { get; set; }
///
/// 备 注:业务分析量编号
/// 默认值:
///
[SugarColumn(ColumnName="BusinessAnalysisId" ) ]
public int? BusinessAnalysisId { get; set; }
///
/// 备 注:授信额度
/// 默认值:
///
[SugarColumn(ColumnName="Credit" ) ]
public decimal? Credit { get; set; }
///
/// 备 注:允许登录企业网站
/// 默认值:
///
[SugarColumn(ColumnName="IsLoginCorporateWeb" ) ]
public bool? IsLoginCorporateWeb { get; set; }
///
/// 备 注:开户行
/// 默认值:
///
[SugarColumn(ColumnName="Bank" ) ]
public string? Bank { get; set; }
///
/// 备 注:税号
/// 默认值:
///
[SugarColumn(ColumnName="TaxID" ) ]
public string? TaxID { get; set; }
///
/// 备 注:账号
/// 默认值:
///
[SugarColumn(ColumnName="AccountID" ) ]
public string? AccountID { get; set; }
///
/// 备 注:下单数量
/// 默认值:
///
[SugarColumn(ColumnName="OrderCount" ) ]
public int? OrderCount { get; set; }
///
/// 备 注:下单产值
/// 默认值:
///
[SugarColumn(ColumnName="OrderMoney" ) ]
public decimal? OrderMoney { get; set; }
///
/// 备 注:最后下单时间
/// 默认值:
///
[SugarColumn(ColumnName="LastOrderTime" ) ]
public DateTime? LastOrderTime { get; set; }
///
/// 备 注:预付款
/// 默认值:
///
[SugarColumn(ColumnName="Prepayments" ) ]
public decimal? Prepayments { get; set; }
///
/// 备 注:是否外协
/// 默认值:
///
[SugarColumn(ColumnName="IsOutsourcing" ) ]
public bool? IsOutsourcing { get; set; }
///
/// 备 注:外协厂商名称
/// 默认值:
///
[SugarColumn(ColumnName="OutVendorName" ) ]
public string? OutVendorName { get; set; }
///
/// 备 注:优先级
/// 默认值:
///
[SugarColumn(ColumnName="IsPriority" ) ]
public bool? IsPriority { get; set; }
///
/// 备 注:累计预付款
/// 默认值:
///
[SugarColumn(ColumnName="CumulativePrepayments" ) ]
public decimal? CumulativePrepayments { get; set; }
///
/// 备 注:最后修改时间
/// 默认值:
///
[SugarColumn(ColumnName="LastUpdateTime" ) ]
public DateTime? LastUpdateTime { get; set; }
///
/// 备 注:操作人
/// 默认值:
///
[SugarColumn(ColumnName="Operator" ) ]
public string? Operator { get; set; }
///
/// 备 注:备注
/// 默认值:
///
[SugarColumn(ColumnName="Remark" ) ]
public string? Remark { get; set; }
///
/// 备 注:询价编号
/// 默认值:
///
[SugarColumn(ColumnName="InquiryId" ) ]
public Guid? InquiryId { get; set; }
///
/// 备 注:客户会员编号
/// 默认值:
///
[SugarColumn(ColumnName="MemberId" ) ]
public Guid? MemberId { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="LoginPwd" ) ]
public string? LoginPwd { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="OutRate" ) ]
public double? OutRate { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Paytime" ) ]
public int? Paytime { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Paydays" ) ]
public int? Paydays { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Biddingcompany" ) ]
public int? Biddingcompany { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Contracttype" ) ]
public int? Contracttype { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Contractmoney" ) ]
public decimal? Contractmoney { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="ExpireTime" ) ]
public DateTime? ExpireTime { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Jigoudaima" ) ]
public string? Jigoudaima { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Piaoju" ) ]
public int? Piaoju { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Expiretype" ) ]
public int? Expiretype { get; set; }
///
/// 备 注: 是否完结
/// 默认值: 1完结 2未完结 只要不是1 都是有效
///
[SugarColumn(ColumnName="Shifouwanjie" ) ]
public int? Shifouwanjie { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Note" ) ]
public string? Note { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="Kaipiaoziliao" ) ]
public string? Kaipiaoziliao { get; set; }
///
/// 备 注:需要例行维护
/// 默认值:
///
[SugarColumn(ColumnName="NeedWiHu" ) ]
public bool? NeedWiHu { get; set; }
///
/// 备 注:需要节假日维护
/// 默认值:
///
[SugarColumn(ColumnName="JieJiaRiWiHu" ) ]
public bool? JieJiaRiWiHu { get; set; }
}
}