using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace SA.Entity.zxdcrm_audit_Models
{
///
/// 产品表
///
[SugarTable("wx_szzysubproduct")]
public class wx_szzysubproduct
{
///
/// 产品ID
///
[SugarColumn(ColumnName="subproductid" ,IsPrimaryKey = true )]
public int subproductid { get; set; }
///
/// 大产品ID
///
[SugarColumn(ColumnName="productid" )]
public int productid { get; set; }
///
/// 产品名称
///
[SugarColumn(ColumnName="subproductname" )]
public string subproductname { get; set; } ="";
///
/// 产品描述
///
[SugarColumn(ColumnName="subproductdesc" )]
public string subproductdesc { get; set; } ="";
///
/// 金额
///
[SugarColumn(ColumnName="price" )]
public decimal? price { get; set; }
///
/// 权限周期
///
[SugarColumn(ColumnName="rightperiod" )]
public int? rightperiod { get; set; }
///
///
///
[SugarColumn(ColumnName="rightunit" )]
public string rightunit { get; set; } ="";
///
/// 是否有效
/// 默认值: 1
///
[SugarColumn(ColumnName="isvalid" )]
public int? isvalid { get; set; }
///
/// 0:即时开通 1:指定日期延时开通
/// 默认值: 0
///
[SugarColumn(ColumnName="orderopentype" )]
public int? orderopentype { get; set; }
///
/// 指定开通订单的日期
///
[SugarColumn(ColumnName="opendate" )]
public string opendate { get; set; } ="";
///
/// 指定结束订单的日期
///
[SugarColumn(ColumnName="enddate" )]
public string enddate { get; set; } ="";
///
/// 排序
///
[SugarColumn(ColumnName="sort" )]
public int? sort { get; set; }
///
/// 产品别名
///
[SugarColumn(ColumnName="productalias" )]
public string productalias { get; set; } ="";
///
/// 产品编码
///
[SugarColumn(ColumnName="productcode" )]
public string productcode { get; set; } ="";
///
/// 0-单一产品、1-组合产品
/// 默认值: 0
///
[SugarColumn(ColumnName="producttype" )]
public int? producttype { get; set; }
///
/// 产品等级
///
[SugarColumn(ColumnName="productlevel" )]
public int? productlevel { get; set; }
///
/// 产品等级
///
[SugarColumn(ColumnName="productinvesttime" )]
public int? productinvesttime { get; set; }
///
/// 产品等级
///
[SugarColumn(ColumnName="productinvesttype" )]
public int productinvesttype { get; set; }
///
/// 权限id
///
[SugarColumn(ColumnName="mid" )]
public int? mid { get; set; }
///
/// 是否合规,1:是,0:否。主要在线订单同步到线下的时候,根据该状态值来判断是否写入合同数据
/// 默认值: 1
///
[SugarColumn(ColumnName="iscompliance" )]
public int? iscompliance { get; set; }
///
///
///
[SugarColumn(ColumnName="mids" )]
public string mids { get; set; } ="";
///
///
///
[SugarColumn(ColumnName="canupgrade" )]
public int? canupgrade { get; set; }
///
/// 产品分类
///
[SugarColumn(ColumnName="category" )]
public int? category { get; set; }
///
/// 是否关闭被升级订单权限
///
[SugarColumn(ColumnName="closeupgraderole" )]
public int? closeupgraderole { get; set; }
///
/// 第三方订单分类
///
[SugarColumn(ColumnName="thirdordercate" )]
public int? thirdordercate { get; set; }
///
/// 二级分类
///
[SugarColumn(ColumnName="midproductid" )]
public int? midproductid { get; set; }
///
/// 是否有赠送
///
[SugarColumn(ColumnName="isgift" )]
public int? isgift { get; set; }
///
/// 是否支持在线购买
///
[SugarColumn(ColumnName="isonlinebuy" )]
public int? isonlinebuy { get; set; }
///
/// 在线购买链接
///
[SugarColumn(ColumnName="buylink" )]
public string buylink { get; set; } ="";
///
/// 支付成功回调页面
///
[SugarColumn(ColumnName="callbacklink" )]
public string callbacklink { get; set; } ="";
///
/// 附件路径
///
[SugarColumn(ColumnName="att" )]
public string att { get; set; } ="";
///
///
///
[SugarColumn(ColumnName="remark" )]
public string remark { get; set; } ="";
///
///
///
[SugarColumn(ColumnName="productext" )]
public string productext { get; set; } ="";
///
///
/// 默认值: 0
///
[SugarColumn(ColumnName="isdelete" )]
public int isdelete { get; set; }
///
/// 标签id
///
[SugarColumn(ColumnName="lablenameid" )]
public int? lablenameid { get; set; }
///
///
///
[SugarColumn(ColumnName="settletype" )]
public int? settletype { get; set; }
}
}