Subversion Repositories SmartDukaan

Rev

Rev 24099 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.entity.user;

import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "user.brand_promoter")
public class BrandPromoter {
        @Id
        @Column(name = "user_id")
        private int userId;

        @Column(name = "retailer_id")
        private int retailerId;

        @Column(name = "brand")
        private String brand;

        @Column(name = "create_timestamp")
        private LocalDateTime createTimestamp;

        public int getUserId() {
                return userId;
        }

        public void setUserId(int userId) {
                this.userId = userId;
        }

        public int getRetailerId() {
                return retailerId;
        }

        public void setRetailerId(int retailerId) {
                this.retailerId = retailerId;
        }

        public String getBrand() {
                return brand;
        }

        public void setBrand(String brand) {
                this.brand = brand;
        }

        public LocalDateTime getCreateTimestamp() {
                return createTimestamp;
        }

        public void setCreateTimestamp(LocalDateTime createTimestamp) {
                this.createTimestamp = createTimestamp;
        }

        @Override
        public String toString() {
                return "BrandPromoters [userId=" + userId + ", retailerId=" + retailerId + ", brand=" + brand
                                + ", createTimestamp=" + createTimestamp + "]";
        }

}