YYC
2025-07-08 7d1a449b1b41159626e049fd5eced7014de4e459
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
package com.fzzy.async.fzzy40.entity;
 
/**
 * @Author: YYC
 * @Description:
 * @DateTime: 2024-12-19 14:23
 **/
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 固定资产卡片信息
 *
 * @author czt
 */
@Data
@Entity
@Table(name = "API_1509")
public class Fz40Api1509 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * 通过接口获取的单位账套后,在局端自动产生账套号
     */
    @Id
    @Column(name = "ID_", precision = 18)
    @JSONField(serialize = false)
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 30)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @PropertyDef(label = "账套号")
    @Column(name = "nacctid", length = 23)
    private String nacctid;
 
    @PropertyDef(label = "固定资产编码")
    @Column(name = "fixassetcode", length = 20)
    private String fixassetcode;
 
    @PropertyDef(label = "固定资产自编码")
    @Column(name = "origfixassetcode", length = 20)
    private String origfixassetcode;
 
    @PropertyDef(label = "资产类别编码")
    @Column(name = "groupcode", length = 20)
    private String groupcode;
 
    @PropertyDef(label = "固定资产名称")
    @Column(name = "fixassetname", length = 80)
    private String fixassetname;
 
    @PropertyDef(label = "计量单位名称")
    @Column(name = "unitname", length = 20)
    private String unitname;
 
    @PropertyDef(label = "原值")
    @Column(name = "valueorg", length = 20, scale = 4)
    private Double valueorg;
 
    @PropertyDef(label = "当前原值")
    @Column(name = "dresentvalueorg", length = 20, scale = 4)
    private Double dresentvalueorg;
    /**
     * 1:不提折旧法
     * 2:平均年限法
     * 3:动态平均年限法
     * 4:工作量法
     * 5:年数总和法
     * 6:双倍余额递减法
     */
    @PropertyDef(label = "折旧方法")
    @Column(name = "deprmethodid")
    private Integer deprmethodid;
 
    /**
     * 1:投资
     * 2:自建
     * 3:购买
     * 4:融资租赁
     * 5:经营租入
     * 6:无偿调入
     * 7:捐赠
     * 8:换入
     */
    @PropertyDef(label = "固定资产来源")
    @Column(name = "sourceid")
    private Integer sourceid;
 
    @PropertyDef(label = "型号")
    @Column(name = "model", length = 40)
    private String model;
 
    @PropertyDef(label = "规格")
    @Column(name = "specs", length = 40)
    private String specs;
 
    @PropertyDef(label = "制造商")
    @Column(name = "manufacturer", length = 60)
    private String manufacturer;
 
    @PropertyDef(label = "产地")
    @Column(name = "makingplace", length = 40)
    private String makingplace;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "进单位日期")
    @Column(name = "enterday", length = 10)
    private Date enterday;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始使用日期")
    @Column(name = "beginuseday", length = 10)
    private Date beginuseday;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "建卡日期")
    @Column(name = "makinday", length = 10)
    private Date makinday;
 
    @PropertyDef(label = "管理人")
    @Column(name = "keeper", length = 20)
    private String keeper;
 
    @PropertyDef(label = "建卡人")
    @Column(name = "maker", length = 20)
    private String maker;
 
    @PropertyDef(label = "预计使用期间数")
    @Column(name = "usingperiods")
    private Integer usingperiods;
 
    @PropertyDef(label = "预计净残值")
    @Column(name = "expecremain", precision = 20, scale = 4)
    private Double expecremain;
 
    @PropertyDef(label = "固定资产对应科目编码")
    @Column(name = "assetacctcode", length = 20)
    private String assetacctcode;
 
    @PropertyDef(label = "累计折旧对应科目编码")
    @Column(name = "depracctcode", length = 20)
    private String depracctcode;
 
    @PropertyDef(label = "累计折旧")
    @Column(name = "accumulatedepr", precision = 20, scale = 4)
    private Double accumulatedepr;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "是否报废清理")
    @Column(name = "abadoned", length = 1)
    private String abadoned;
 
    /**
     * 1:在使用
     * 2:未使用
     * 3:停用
     * 4:出售
     * 5:报损
     * 6:盘亏
     */
    @PropertyDef(label = "当前使用状态名称")
    @Column(name = "presentstatus", length = 20)
    private String presentstatus;
 
    @PropertyDef(label = "备注")
    @Column(name = "notes", length = 512)
    private String notes;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
}