Subversion Repositories SmartDukaan

Rev

Rev 36599 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36599 Rev 36808
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.logistics;
1
package com.spice.profitmandi.dao.entity.logistics;
2
 
2
 
3
import com.spice.profitmandi.common.model.ProfitMandiConstants;
3
import com.spice.profitmandi.common.model.ProfitMandiConstants;
4
 
4
 
5
import javax.persistence.Column;
-
 
6
import javax.persistence.Entity;
-
 
7
import javax.persistence.EnumType;
-
 
8
import javax.persistence.Enumerated;
-
 
9
import javax.persistence.GeneratedValue;
-
 
10
import javax.persistence.GenerationType;
-
 
11
import javax.persistence.Id;
5
import javax.persistence.*;
12
import javax.persistence.Table;
-
 
13
import java.time.LocalDateTime;
6
import java.time.LocalDateTime;
14
 
7
 
15
@Entity
8
@Entity
16
@Table(name = "logistics.company_office")
9
@Table(name = "logistics.company_office")
17
public class CompanyOffice {
10
public class CompanyOffice {
Line 24... Line 17...
24
    @Column
17
    @Column
25
    @Enumerated(EnumType.STRING)
18
    @Enumerated(EnumType.STRING)
26
    private ProfitMandiConstants.COMPANY_OFFICE_TYPE type;
19
    private ProfitMandiConstants.COMPANY_OFFICE_TYPE type;
27
 
20
 
28
    @Column
21
    @Column
-
 
22
    private String code;
-
 
23
 
-
 
24
    @Column
29
    private String name;
25
    private String name;
30
 
26
 
31
    @Column
27
    @Column
32
    private String address;
28
    private String address;
33
 
29
 
Line 66... Line 62...
66
 
62
 
67
    public void setType(ProfitMandiConstants.COMPANY_OFFICE_TYPE type) {
63
    public void setType(ProfitMandiConstants.COMPANY_OFFICE_TYPE type) {
68
        this.type = type;
64
        this.type = type;
69
    }
65
    }
70
 
66
 
-
 
67
    public String getCode() {
-
 
68
        return code;
-
 
69
    }
-
 
70
 
-
 
71
    public void setCode(String code) {
-
 
72
        this.code = code;
-
 
73
    }
-
 
74
 
71
    public String getName() {
75
    public String getName() {
72
        return name;
76
        return name;
73
    }
77
    }
74
 
78
 
75
    public void setName(String name) {
79
    public void setName(String name) {