chileautos.ts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. export default class Chileautos {
  2. private _year: number;
  3. private _maker: string;
  4. private _model: string;
  5. private _version: string;
  6. private _color: string;
  7. private _price: number;
  8. private _title: string;
  9. private _description: string;
  10. private _plate: string;
  11. private _mileage: number;
  12. private _gearbox: string;
  13. private _engine: string;
  14. private _fuel: string;
  15. private _imageUrl: string;
  16. private _code: string;
  17. private _url: string;
  18. private _region: string;
  19. private _city: string;
  20. private _sellerType: string;
  21. private _sellerName: string;
  22. private _publicationCreationDate: Date;
  23. private _publicationUpdateDate: Date;
  24. private _publicationCreatedAt: Date;
  25. get year(): number {
  26. return this._year;
  27. }
  28. set year(value: number) {
  29. this._year = value;
  30. }
  31. get maker(): string {
  32. return this._maker;
  33. }
  34. set maker(value: string) {
  35. this._maker = value;
  36. }
  37. get model(): string {
  38. return this._model;
  39. }
  40. set model(value: string) {
  41. this._model = value;
  42. }
  43. get version(): string {
  44. return this._version;
  45. }
  46. set version(value: string) {
  47. this._version = value;
  48. }
  49. get color(): string {
  50. return this._color;
  51. }
  52. set color(value: string) {
  53. this._color = value;
  54. }
  55. get price(): number {
  56. return this._price;
  57. }
  58. set price(value: number) {
  59. this._price = value;
  60. }
  61. get title(): string {
  62. return this._title;
  63. }
  64. set title(value: string) {
  65. this._title = value;
  66. }
  67. get description(): string {
  68. return this._description;
  69. }
  70. set description(value: string) {
  71. this._description = value;
  72. }
  73. get plate(): string {
  74. return this._plate;
  75. }
  76. set plate(value: string) {
  77. this._plate = value;
  78. }
  79. get mileage(): number {
  80. return this._mileage;
  81. }
  82. set mileage(value: number) {
  83. this._mileage = value;
  84. }
  85. get gearbox(): string {
  86. return this._gearbox;
  87. }
  88. set gearbox(value: string) {
  89. this._gearbox = value;
  90. }
  91. get engine(): string {
  92. return this._engine;
  93. }
  94. set engine(value: string) {
  95. this._engine = value;
  96. }
  97. get fuel(): string {
  98. return this._fuel;
  99. }
  100. set fuel(value: string) {
  101. this._fuel = value;
  102. }
  103. get imageUrl(): string {
  104. return this._imageUrl;
  105. }
  106. set imageUrl(value: string) {
  107. this._imageUrl = value;
  108. }
  109. get code(): string {
  110. return this._code;
  111. }
  112. set code(value: string) {
  113. this._code = value;
  114. }
  115. get url(): string {
  116. return this._url;
  117. }
  118. set url(value: string) {
  119. this._url = value;
  120. }
  121. get region(): string {
  122. return this._region;
  123. }
  124. set region(value: string) {
  125. this._region = value;
  126. }
  127. get city(): string {
  128. return this._city;
  129. }
  130. set city(value: string) {
  131. this._city = value;
  132. }
  133. get sellerType(): string {
  134. return this._sellerType;
  135. }
  136. set sellerType(value: string) {
  137. this._sellerType = value;
  138. }
  139. get sellerName(): string {
  140. return this._sellerName;
  141. }
  142. set sellerName(value: string) {
  143. this._sellerName = value;
  144. }
  145. get publicationCreationDate(): Date {
  146. return this._publicationCreationDate;
  147. }
  148. set publicationCreationDate(value: Date) {
  149. this._publicationCreationDate = value;
  150. }
  151. get publicationUpdateDate(): Date {
  152. return this._publicationUpdateDate;
  153. }
  154. set publicationUpdateDate(value: Date) {
  155. this._publicationUpdateDate = value;
  156. }
  157. get publicationCreatedAt(): Date {
  158. return this._publicationCreatedAt;
  159. }
  160. set publicationCreatedAt(value: Date) {
  161. this._publicationCreatedAt = value;
  162. }
  163. }