Beispiel #1
0
        /// <summary>获得一个实例  </summary>
        public static Xs_TCoupon GetOneInstance()
        {
            Xs_TCoupon value = new Xs_TCoupon();

            return(value);
        }
Beispiel #2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xs_TCoupon value = new Xs_TCoupon();


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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }