Esempio n. 1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            TUserPay value = new TUserPay();


            if (BLLTable.IsExistOptionValue(this.TableName(), "Id"))
            {
                value.id_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "OpenId"))
            {
                value.openid_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "User_id"))
            {
                value.user_id_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "TeacherId"))
            {
                value.teacherid_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "ClassId"))
            {
                value.classid_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "ClassInfoJson"))
            {
                value.classinfojson_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "PayInt"))
            {
                value.payint_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "PaySum"))
            {
                value.paysum_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "PayUsed"))
            {
                value.payused_initialized = true;
            }

            return(value);
        }
Esempio n. 2
0
        /// <summary>获得一个实例  </summary>
        public static TUserPay GetOneInstance()
        {
            TUserPay value = new TUserPay();

            return(value);
        }