Subversion Repositories SmartDukaan

Rev

Rev 35648 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35648 Rev 37001
Line 3... Line 3...
3
import javax.persistence.*;
3
import javax.persistence.*;
4
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
5
 
5
 
6
 
6
 
7
@Entity
7
@Entity
8
@Table(name = "fofo.retailer_contact")
8
@Table(name = "fofo.retailer_contact",
-
 
9
        uniqueConstraints = @UniqueConstraint(
-
 
10
                name = "uk_retailer_contact_fofo_mobile",
-
 
11
                columnNames = {"fofoId", "mobile"}))
9
public class RetailerContact {
12
public class RetailerContact {
10
    @Id
13
    @Id
11
    @GeneratedValue(strategy = GenerationType.IDENTITY)
14
    @GeneratedValue(strategy = GenerationType.IDENTITY)
12
    @Column
15
    @Column
13
    private int id;
16
    private int id;