⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 specialofferinfo.vb

📁 C#语言制作asp.net网上商店的
💻 VB
字号:

Namespace NetShopForge.Library.SpecialOffer
    Public Class SpecialOfferInfo

        Private _offerid As Integer
        Private _title As String
        Private _conditiontype As ConditionType
        Private _BonusType As BonusType
        Private _shortpromoimage As String
        Private _shortpromotext As String
        Private _detailedpromo As String
        Private _isvalid As Boolean
        Private _isdisplayshortpromo As Boolean
        Private _startdate As DateTime
        Private _enddate As DateTime
        Private _status As SpecialOfferStatus
        Private _couponID As Integer
        Private _isoncebonus As Boolean
        Private _ProductsCollection as List(OF SpecialOfferProductsInfo )

        '''<summary>
        '''
        '''</summary>
        Public Property OfferID() As Integer
            Get
                Return _offerid
            End Get
            Set(ByVal Value As Integer)
                _offerid = Value
            End Set
        End Property
        '''<summary>
        '''
        '''</summary>
        Public Property Title() As String
            Get
                Return _title
            End Get
            Set(ByVal Value As String)
                _title = Value
            End Set
        End Property
        '''<summary>
        '''
        '''</summary>
        Public Property ConditionType() As ConditionType
            Get
                Return _conditiontype
            End Get
            Set(ByVal Value As ConditionType)
                _conditiontype = Value
            End Set
        End Property

        Public Property BonusType() As BonusType
            Get
                Return _BonusType
            End Get
            Set(ByVal Value As BonusType)
                _BonusType = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property ShortPromoImage() As String
            Get
                Return _shortpromoimage
            End Get
            Set(ByVal Value As String)
                _shortpromoimage = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property ShortPromoText() As String
            Get
                Return _shortpromotext
            End Get
            Set(ByVal Value As String)
                _shortpromotext = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property Detailedpromo() As String
            Get
                Return _detailedpromo
            End Get
            Set(ByVal Value As String)
                _detailedpromo = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property IsValid() As Boolean
            Get
                Return _isvalid
            End Get
            Set(ByVal Value As Boolean)
                _isvalid = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property IsDispalyShortPromo() As Boolean
            Get
                Return _isdisplayshortpromo
            End Get
            Set(ByVal Value As Boolean)
                _isdisplayshortpromo = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property StartDate() As DateTime
            Get
                Return _startdate
            End Get
            Set(ByVal Value As DateTime)
                _startdate = Value
            End Set
        End Property

        '''<summary>
        '''
        '''</summary>
        Public Property EndData() As DateTime
            Get
                Return _enddate
            End Get
            Set(ByVal Value As DateTime)
                _enddate = Value
            End Set
        End Property
        '''<summary>
        '''
        '''</summary>
        Public Property Status() As SpecialOfferStatus
            Get
                Return _status
            End Get
            Set(ByVal Value As SpecialOfferStatus)
                _status = Value
            End Set
        End Property

        Public Property CouponID() As Integer
            Get
                Return _couponID
            End Get
            Set(ByVal Value As Integer)
                _couponID = Value
            End Set
        End Property
        ''' <summary>
        ''' 
        ''' </summary>
        Public Property IsOnceBonus() As Boolean
            Get
                Return _isoncebonus
            End Get
            Set(ByVal Value As Boolean)
                _isoncebonus = Value
            End Set
        End Property

 
    End Class






End Namespace

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -