liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
package com.landy.gum.sys.model;
 
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
 
import org.hibernate.annotations.Type;
 
import com.landy.framework.core.model.BaseModel;
import com.landy.framework.core.model.OperationLog;
 
/**
 * Model class for SysAccessory
 */
@Entity
@Table(name = "sys_accessory")
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
public class SysAccessoryModel extends BaseModel implements OperationLog {
 
    //syaccId
    private Integer syaccId;
    //附件名称
    private String syacName;
    //文件流
    private byte[] syaccFile;
    //创建人
    private String creator;
    //创建时间
    private Date createTime;
    //修改时间
    private Date modifyTime;
    //修改人
    private String modifier;
    //syaccLocationid
    private Integer syaccLocationid;
    //关联表名
    private String syaccTableName;
    //关联记录id
    private Integer syaccRecordId;
 
    /**
     * Get syaccId
     */
    @Column(name = "syacc_id")
    @Id @GeneratedValue(strategy=GenerationType.AUTO)
    public Integer getSyaccId() {
        return syaccId;
    }
 
    /**
     * Set syaccId
     */
    public void setSyaccId(Integer syaccId) {
        this.syaccId = syaccId;
        addValidField("syaccId");
    }
 
    /**
     * Get 附件名称
     */
    @Column(name = "syac_name")
    public String getSyacName() {
        return syacName;
    }
 
    /**
     * Set 附件名称
     */
    public void setSyacName(String syacName) {
        this.syacName = syacName;
        addValidField("syacName");
    }
 
    /**
     * Get 文件流
     */
    @Column(name = "syacc_file")
    @Type(type="org.springframework.orm.hibernate3.support.BlobByteArrayType")
    public byte[] getSyaccFile() {
        return syaccFile;
    }
 
    /**
     * Set 文件流
     */
    public void setSyaccFile(byte[] syaccFile) {
        this.syaccFile = syaccFile;
        addValidField("syaccFile");
    }
 
    /**
     * Get 创建人
     */
    @Column(name = "creator")
    public String getCreator() {
        return creator;
    }
 
    /**
     * Set 创建人
     */
    public void setCreator(String creator) {
        this.creator = creator;
        addValidField("creator");
    }
 
    /**
     * Get 创建时间
     */
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }
 
    /**
     * Set 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
        addValidField("createTime");
    }
 
    /**
     * Get 修改时间
     */
    @Column(name = "modify_time")
    public Date getModifyTime() {
        return modifyTime;
    }
 
    /**
     * Set 修改时间
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        addValidField("modifyTime");
    }
 
    /**
     * Get 修改人
     */
    @Column(name = "modifier")
    public String getModifier() {
        return modifier;
    }
 
    /**
     * Set 修改人
     */
    public void setModifier(String modifier) {
        this.modifier = modifier;
        addValidField("modifier");
    }
 
    /**
     * Get syaccLocationid
     */
    @Column(name = "syacc_locationid")
    public Integer getSyaccLocationid() {
        return syaccLocationid;
    }
 
    /**
     * Set syaccLocationid
     */
    public void setSyaccLocationid(Integer syaccLocationid) {
        this.syaccLocationid = syaccLocationid;
        addValidField("syaccLocationid");
    }
 
    /**
     * Get 关联表名
     */
    @Column(name = "syacc_table_name")
    public String getSyaccTableName() {
        return syaccTableName;
    }
 
    /**
     * Set 关联表名
     */
    public void setSyaccTableName(String syaccTableName) {
        this.syaccTableName = syaccTableName;
        addValidField("syaccTableName");
    }
 
    /**
     * Get 关联记录id
     */
    @Column(name = "syacc_record_id")
    public Integer getSyaccRecordId() {
        return syaccRecordId;
    }
 
    /**
     * Set 关联记录id
     */
    public void setSyaccRecordId(Integer syaccRecordId) {
        this.syaccRecordId = syaccRecordId;
        addValidField("syaccRecordId");
    }
 
}